GATE 2012
March 12, 2025GATE 2005
March 12, 2025GATE 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
|
(i) and (ii) only
|
|
|
(i) and (iv) only
|
|
|
(i), (ii) and (iv) only
|
|
|
(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.
