Totality Corp interview question

Basics of java and oops