Secova interview question

Basic in OOPS concept