Question: What are the four principles of object-oriented programming?
- manipulation, encapsulation, inheritance, and dependency inversion
- dependency inversion, open/closed principle, encapsulation, and inheritance
- interface segregation, abstraction, dependency inversion, and inheritance
- abstraction, encapsulation, inheritance, and polymorphism
Answer: The correct answer of the above question is Option D:abstraction, encapsulation, inheritance, and polymorphism