IBM interview question

Java technical questions quite basic