EY interview question

Basic questions on Object oriented programming