Pergunta de entrevista da empresa Cognizant

“Explain the four pillars of OOP (Encapsulation, Abstraction, Inheritance, Polymorphism) with examples.” It’s like their go-to starter — if you nail this, the interview usually flows smoothly into Java basics, coding, and then Spring/SQL.