Which of the following is NOT a fundamental principle of object-oriented programming in C++?

Options

  • A. Encapsulation
  • B. Inheritance
  • C. Polymorphism
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

E. None of the above

Detailed Explanation

Answer: None of the above

Encapsulation, inheritance and polymorphism are all important principles of object-oriented programming.

Another major OOP concept is abstraction. Therefore, none of the listed concepts is outside the fundamental OOP principles.