Revature interview question

OOP concept?