posted 20 years ago
I'm a little confused about what you mean by "submethod", could you please clarify?
In general though, any class can call any public method of any other class. A class can also call protected methods of any other class that it extends. Private methods may be called by other methods of the same class. Methods without any visibility modifier in a class may be called by any other class that extends it, as well as other classes in the same package.