Which of the following are required for method overriding?
(sub/super means the methods are in two classes that are in an inheritance relationship)
Question 5Answer
a.
Same name, same signature, same class
b.
Same name, different signature, same class
c.
Same name, same signature, sub/super class
d.
Same name, different signature, sub/super class
e.
Select this option if you think none of the above are required.