Question: Which statement is true about a subclass that uses the same method name but different parameter types for a method that appears in its superclass?
Which statement is true about a subclass that uses the same method name but different parameter types for a method that appears in its superclass?
the subclass method has overloaded its superclass's method.
the subclass method has overridden its superclass's method.
the subclass has implemented its superclass's method.
a compiler error will occur.
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
