Eze Software interview question

Java basics