Hexaware Technologies interview question

basic of java