Revature Interview Question

OOP concept?