posted 24 years ago
This actually has nothing to do with inner classes - this code wouldn't work in an outer class either. In order to overload a method, you must have different arguments in the method. Both your disp() methods have the exact same arguments - none. So it's not an overload. It's not an override either, because both methods are in the same class, and have different return types.
"I'm not back." - Bill Harding, Twister