OOPS
August 29, 2024OOPS
August 29, 2024OOPS
Question 48
|
In C++, polymorphism requires:
Inheritance only
|
|
Virtual functions only
|
|
References only
|
|
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
→ 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
→ In C++, polymorphism requires inheritance, virtual functions and references
Subscribe
Login
0 Comments