IBM interview question

About oops and core subjects