eQ Technologic interview question

Basics of Java