Pregunta de entrevista de World Wide Technology

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

Respuestas de entrevistas

Anónimo

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

Anónimo

21 mar 2018

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

Anónimo

28 jul 2018

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