Pennant Technologies interview question

OOPS CONCEPTS,Real time Issues