C# Programming - Inheritance - Discussion
Discussion Forum : Inheritance - True or False (Q.No. 6)
6.
If a base class contains a member function func(), and a derived class does not contain a function with this name, an object of the derived class cannot access func().
Answer: Option
Explanation:
It depends upon how the function func() has been defined in the base class. If the function func() is defined public in base class then an object of the derived class can access the function func().
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers