I know that Java does not allow us to extend more than one class. I know that interfaces also exist and I don\'t want to use them this time. Is there some kind of trick or w
may be this helps
class One{ void oneMethod(){ } } class Two extends One{ void TwoMethod(){ } } class Abc extends Two{ @Override void oneMethod() { // TODO Auto-generated method stub super.oneMethod(); } @Override void TwoMethod() { // TODO Auto-generated method stub super.TwoMethod(); } }