Computer Science, asked by shangeethasankar189, 5 months ago

is it necessary to redefine which function in derived class​

Answers

Answered by GuriSingh07
1

Answer:

To modify the way a function defined in a base class works in the derived class, simply redefine the function in the derived class. Note that when you redefine a function in the derived class, the derived function does not inherit the access specifier of the function with the same name in the base class.

PLEASE MARK AS BRAINLIEST AND ALSO FOLLOW ME ☺️

Similar questions