GATE | GATE IT 2006 | Question 53
Which feature of OOP indicates code reusability?
(A)
Abstraction
(B)
Polymorphism
(C)
Encapsulation
(D)
Inheritance
Answer: (D)
Explanation:
Inheritance indicates the code reusability. Encapsulation and abstraction are meant to hide/group data into one element. Polymorphism is to indicate different tasks performed by a single entity.
Quiz of this Question
Please comment below if you find anything wrong in the above post
Last Updated :
28 Jun, 2021
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...