JAYESH interview question

oop and jcf realated ,query