C++ Programming - OOPS Concepts - Discussion
Discussion Forum : OOPS Concepts - General Questions (Q.No. 38)
38.
What happens if the base and derived class contains definition of a function with same prototype?
Discussion:
22 comments Page 3 of 3.
Dhanesh ful said:
1 decade ago
This example of method overrding only the the method of derived class is call istead of base class.
Vishal Tavande said:
1 decade ago
Only base class function will get called irrespective of object. As I tried this at my desk.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers