C# Programming - Inheritance - Discussion

Discussion Forum : Inheritance - True or False (Q.No. 7)
7.
If a base class and a derived class each include a member function with the same name, the member function of the derived class will be called by an object of the derived class
True
False
Answer: Option
Explanation:
This is because the member functions are always searched in the derived class and then in the base class.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.