IBM interview question

Java questions