IBM interview question

Java based questions