java program

class A{
void f1(){};
void f2(){};
void f3(){};

class B{
void f4(){};
void f5(){};


its not a complete program…just an outline how the program looks the qustion is “how can i enter inside f4 from f1 and call rest of the methods without creating any further objects from f4”

I think you extend class A in B and declare methods in class as static.

without inheritence concept is it possible to solve the problem?

is this what u want to do…LINK…hope this helps…:slight_smile:

thanks a lot