Revature interview question

Mostly Java and oop questions