in Interview i got this question. When i said, NO interviewer was not agree with my opinion.... So i want to know is there any way to change signature in overridding?
Printable View
in Interview i got this question. When i said, NO interviewer was not agree with my opinion.... So i want to know is there any way to change signature in overridding?
An instance method in a subclass with the same signature (name, plus the number and the type of its parameters) and return type as an instance method in the superclass overrides the superclass's method
for more see following URI
[url]http://java.sun.com/docs/books/tutorial/java/IandI/override.html[/url]