Cognizant interview question

OOPS Concept in Java ?

Interview Answer

Anonymous

Aug 21, 2025

Polymorphism , Abstraction , Inheritance , Encapsulation Explain with real life examples and do code .