Vidyalelo
Java Programming · Q7

Overriding and Overloading

Programming · Java Programming · question 7

Q7

Which method is called during method overriding in Java if the superclass method is invoked using the "super" keyword?

A.
The superclass method
Answer
B.
The subclass method
C.
Both methods are called
D.
None of the methods are called

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board