IBM interview question

Java related world