Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> hi,
There is a we get benefit out of method overriding in which you define all the methods with the same name same return type but with different no.of arguments. You can set all the unwanted arguments to null /leave unhandled. JVM will choose in run time the appropriate method.
Replies:
|
Sponsored Links
|