Which of the following features must be supported by any programming language…

20232023

Which of the following features must be supported by any programming language to become a pure object-oriented programming language?

  1. A.

    Encapsulation

  2. B.

    Inheritance

  3. C.

    Polymorphism

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 206 students.

Show answer & explanation

Correct answer: D

A pure object-oriented programming language must support multiple Object-Oriented Programming (OOP) features rather than only one feature.

Important OOP features include:

  • Encapsulation

  • Inheritance

  • Polymorphism

  • Abstraction

For a language to be considered purely object-oriented, it should support several of these concepts together.

For example:

  • Encapsulation protects and bundles data.

  • Inheritance provides code reusability.

  • Polymorphism allows one interface to behave differently.

Since more than one feature is required, the correct answer is “More than one of the above”.

Explore the full course: Up Lt Grade Assistant Teacher 2025