Ugam interview question

Basics of Java and oops