Hexaware Technologies interview question

Basic Java questions and general questions