IBM interview question

Basic core Java questions