Question: pt ) What is it called when a child class defines a method with the same name and signature as a method in parent class?
pt What is it called when a child class defines a method with the same name and signature as a method in parent class? CLOa the child's method inherits from the parent's methodb. the child's method replaces both methods in both classesc. the child's method extends the parent's methodd. the child's method overrides the parent's method.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
