Question: What are the four principles of object-oriented programming?

  1. manipulation, encapsulation, inheritance, and dependency inversion
  2. dependency inversion, open/closed principle, encapsulation, and inheritance
  3. interface segregation, abstraction, dependency inversion, and inheritance
  4. abstraction, encapsulation, inheritance, and polymorphism

Answer: The correct answer of the above question is Option D:abstraction, encapsulation, inheritance, and polymorphism