Question d’entretien chez World Wide Technology

Can you explain the 5 basic principals for object oriented programming?

Réponses aux questions d'entretien

Utilisateur anonyme

15 sept. 2016

They are summarized by the acronymn SOLID Separation of Concerns Open/Closed Principal Liskov Substitution Principal Interface Segregation Principal Dependency Inversion Principal

1

Utilisateur anonyme

21 mars 2018

Though not incorrect, SOLID is a more recent interpretation. The traditional answer is typically Encapsulation, Abstraction, Inheritance, and Polymorphism.

Utilisateur anonyme

28 juill. 2018

But encapsulation, abstraction, inheritance and polymorphism are only 4 principles. Since the question asked for 5 I think solid is the right answer