| Author |
am i correct
|
josephine chen
Ranch Hand
Joined: Oct 29, 2002
Posts: 216
|
|
My understanding was you can overload a method ONLY in the same class where it is declared and you can ONLY override methods in subclasses of parent classes...Am I right ??
|
 |
Jim Yingst
Wanderer
Sheriff
Joined: Jan 30, 2000
Posts: 18670
|
|
|
You can overload a method in the same class OR in a subclass; you can override in a subclass.
|
"I'm not back." - Bill Harding, Twister
|
 |
 |
|
|
subject: am i correct
|
|
|