Pergunta de entrevista da empresa WebstaurantStore

What are the four pillars of object oriented programming

Resposta da entrevista

Sigiloso

24 de out. de 2025

Conventionally there are three- polymorphism, encapsulation and inheritance. The fourth is abstraction and was added much later. I doubt the company is really leveraging any of these in the code beyond what .NET does for you, so it's comical they ask about it. Most companies use Interfaces because that's what the dependency injection article the architect read on the toilet was doing, but even then, it's unnecessary.