KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a class that extends a class that I need to overide, but I need to call that class's parent class. since I can't call super since that will execute the direct parent what is the best way to get the parent of my parent class? I am sure this is a basic question, but its been a while since I have been doing any java. class A { public void myMethod() { /* ... */ } } class B extends A { public void myMethod() { /* Another code */ } } class C extends B { I need to call Class A here { /* Another code */ } }
Tags (comma-separated)
Save Edits
Cancel