Cognizant interview question

Explain ALL OOPS concepts with real life examples