class A{
void f1(){};
void f2(){};
void f3(){};
}
class B{
void f4(){};
void f5(){};
}
----main-----
{
}
its not a complete program…just an outline how the program looks like.now the qustion is “how can i enter inside f4 from f1 and call rest of the methods without creating any further objects from f4”