Chethan Chinmay

Chethan Chinmay

  • NA
  • 51
  • 5.2k

programme control transfer from one method to another method

May 21 2018 6:44 AM
can able to do programme control transfer from one method to another different method like goto and label statement.
 
 now i want to show something like this
 
public class A()
{
public void B()
{
int a,b,c;
c=a+b;
jump here:
c=a*b; 
 
public voidC()
{
int x,y,z;
z=x-y;
goto jump here; 

Answers (3)