πŸ“Š C++
Q. Which C++ feature allows a function to be redefined in a derived class?
  • (A) Function Overloading
  • (B) Function Overriding
  • (C) Encapsulation
  • (D) Polymorphism
πŸ’¬ Discuss
βœ… Correct Answer: (B) Function Overriding

Explanation: Function overriding allows a function in a derived class to have the same signature as a function in the base class.

Explanation by: Vijay Sangwan
Function overriding allows a function in a derived class to have the same signature as a function in the base class.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
243
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vijay Sangwan
Publisher
πŸ“ˆ
80%
Success Rate