Cognizant Interview Question

Explain oops concepts with examples