Cognizant Interview Question

explain about two oops concepts with real time example