I have a couple of nested methods in some class. First of them is called from main function. Now, if some condition is true, I want that next executed statement is some statement in main . How do that?
class A {
void a()
{
b();
c();
}
void b()
{
e();
c();
}
}
If some condition in any function in class A is true, I want go to main function in class B, exactly on statement that is first after calling A.a()