ETP International interview question

Majorly about the core java