KPIT Technologies interview question

about OOPS concepts