Cognizant interview question

Explain OOPs concept in java