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:
From inside a superclass method I want to call another method that exists in that superclass, but is overridden by some of it's subclasses. see below: class super { class sub1 { class sub2 { All this without the superclass having to know what actual subclasses do exist (so I don't want to "switch ((s.getClass())" Anybody know how to do this????
Replies:
|
Sponsored Links
|