Sectech interview question

OOPS Concept