Revature interview question

If you know OOP