World Wide Technology interview question

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

Interview Answers

Anonymous

21 Mar 2018

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

Anonymous

28 July 2018

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

Anonymous

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