IBM interview question

java technical question