A

Admin • 833K Points
Coach

Q. Which C++ feature allows a function to be redefined in a derived class?

  • (A) Function Overloading
  • (B) Function Overriding
  • (C) Encapsulation
  • (D) Polymorphism
  • Correct Answer - Option(B)
  • Views: 21
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.