Cognizant interview question

explain the oops concepts in details with example?