IBM interview question

Simple concept from the java background