Link to home
Start Free TrialLog in
Avatar of Samooramad
Samooramad

asked on

goto

Hi experts,
I know in other languages you can mark some position in a for loop for example and use a goto when needed. Is there anything like this in java and please include an example.
also does break exit the loop entirely?
what does continue do?

thanks
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Or a labeled break maybe, take a look at the link I posted above.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Samooramad
Samooramad

ASKER

ok thanks!