I have an abstract base class. I have a class2 that extends base class. I have a class3 that extends class2. I have overridden abstract baseclass.method1 in both class2 and class3. in class3.method1, I call super.method1 and the error I get is that I can't directly call the abstract method in baseclass. but I don't want to, I just want to go one level up, I want to call class2.method1, not baseclass.method1. How to do that?
A:
I withdraw the question, it turns out class2 had a typo in it so the method1 didn't have the same name. whoops.
stu
2010-07-29 20:53:35
Vote for close then ;)
InsertNickHere
2010-07-29 20:58:44
ahhh, never did that before. doesn't seem to be a good reason available. "programmer made typo" doesn't seem to be there. :-)
stu
2010-07-29 21:07:04
A:
Well, it should work. Class3.method1() super calls Class2.method1, don't understand the problem *__*
cheng81
2010-07-29 20:57:12