IBM interview question

Different Java questions