Which one of the following are essential features of an object-oriented…

2005

Which one of the following are essential features of an object-oriented programming language? (GATE CS 2005) (i) Abstraction and encapsulation (ii) Strictly-typedness (iii) Type-safe property coupled with sub-type rule (iv) Polymorphism in the presence of inheritance

Answer: B. (i) and (iv) onlyThe essential features of an object-oriented programming language include abstraction and encapsulation, which allow data hiding and modular design.…

  1. A.

    (i) and (ii) only

  2. B.

    (i) and (iv) only

  3. C.

    (i), (ii) and (iv) only

  4. D.

    (i), (iii) and (iv) only

Attempted by 83 students.

Show answer & explanation

Correct answer: B

The essential features of an object-oriented programming language include abstraction and encapsulation, which allow data hiding and modular design. Polymorphism in the presence of inheritance enables code reuse and flexibility, making it a core OOP concept. Strictly-typedness and type-safe properties with sub-type rules are language-specific features, not fundamental to OOP. Therefore, the essential features are (i) and (iv), making option B correct.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…