...
GATE 2012
March 12, 2025
GATE 2005
March 12, 2025
GATE 2012
March 12, 2025
GATE 2005
March 12, 2025

GATE 2005

Question 4

Which one of the following are essential features of an object-oriented programming language?

    (i) Abstraction and encapsulation
    (ii) Strictly-typedness
    (iii) Type-safe property coupled with sub-type rule

    (iv) Polymorphism in the presence of inheritance
A
(i) and (ii) only
B
(i) and (iv) only
C
(i), (ii) and (iv) only
D
(i), (iii) and (iv) only
Question 4 Explanation: 
Abstraction, encapsulation and inheritance are three main features of OOP language.
Correct Answer: B
Question 4 Explanation: 
Abstraction, encapsulation and inheritance are three main features of OOP language.

Leave a Reply

Your email address will not be published. Required fields are marked *