IBM interview question

Technical Question based on the Java