Question: is the main purpose of method overriding in Java? Select the correct answer from the given choices. - > Calling the superclass method from the
is the main purpose of method overriding in Java? Select the correct answer from the given choices.
Calling the superclass method from the subclass
Preventing access to methods in the superclass
Providing a specific implementation of a method in the subclass
Creating a new method in the subclass with the same name as in the superclass
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
