Virtusa interview question

Basics of Java in technical interview