...
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024

OOPS

Question 48
In C++, polymorphism requires:
A
Inheritance only
B
Virtual functions only
C
References only
D
Inheritance, Virtual functions and references
Question 48 Explanation: 
→ Polymorphism means “many forms”, and it occurs when we have many classes that are related to each other by inheritance.
→ ​ In C++, polymorphism requires inheritance, virtual functions and references
Correct Answer: D
Question 48 Explanation: 
→ Polymorphism means “many forms”, and it occurs when we have many classes that are related to each other by inheritance.
→ ​ In C++, polymorphism requires inheritance, virtual functions and references
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!