OOPS
August 29, 2024OOPS
August 29, 2024OOPS
|
Question 135
|
Runtime polymorphism is achieved by _____
|
Friend function
|
|
|
Virtual function
|
|
|
Operator overloading
|
|
|
Function overloading
|
Question 135 Explanation:
→ In Run time Polymorphism, call is not resolved by the compiler.
→ Run time Polymorphism is achieved by virtual functions and pointers.
→ Compile time Polymorphism achieved by function overloading and operator overloading.
→ Run time Polymorphism is achieved by virtual functions and pointers.
→ Compile time Polymorphism achieved by function overloading and operator overloading.
Correct Answer: B
Question 135 Explanation:
→ In Run time Polymorphism, call is not resolved by the compiler.
→ Run time Polymorphism is achieved by virtual functions and pointers.
→ Compile time Polymorphism achieved by function overloading and operator overloading.
→ Run time Polymorphism is achieved by virtual functions and pointers.
→ Compile time Polymorphism achieved by function overloading and operator overloading.
