Back to quizzes
Method Overriding Quiz
Java / Loops | Medium | 15 questions
Question 1 of 15
4 free questions left
What is method overriding in Java?
A
It allows a subclass to provide a specific implementation of a method already defined in its superclass.
B
It prevents a subclass from modifying a method.
C
It is the same as method overloading.
D
It allows two methods with the same name in the same class.