Wipro interview question

OOPS concepts