Question: A derived class may define a method having the same name as the base class means that: Question 5 options: a derived class method overrides

A derived class may define a method having the same name as the base class means that:
Question 5 options:
a derived class method overrides the method of the base class.
a base class method overrides the method of the derived class.
the functionality of the method is the same in both derived and base class.
a derived class method overloads the method of the base class.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!