NEC Corporation interview question

OOPS concepts to be explained