i have a weird situation. I have a class that inherits another class (let's just say sub inherits super).
 
I want to call a method in super that's overridden. in sub. that's fine, I can say super.toString(). But toString calls ANOTHER method that's overridden: getPay()
 
is there a way to either:
1. create a reference to the current object in such a way that the runtime sees it ONLY as super type?
2. force the super class to call the super implementation of functions instead of calling the sub-class implementation?
 
This would be trivial in C++ or C#: I'd just say super::getPay() inside of super::toString(), but it's not working in Java.
 
thanks. :-)

--
Tom Wilson
[EMAIL PROTECTED]
KI6ABZ
_______________________________________________
libsecondlife-dev mailing list
libsecondlife-dev@gna.org
https://mail.gna.org/listinfo/libsecondlife-dev
http://www.libsecondlife.org/

Reply via email to