Alternative way of using goto in java?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Alternative way of using goto in java??

9th Aug 2018, 11:14 AM
Rahul Mittal
Rahul Mittal - avatar
1 Answer
0
In Java there's what is known as "civilized" form of goto by using: break label; or continue label; https://stackoverflow.com/q/2430782/10088069
10th Aug 2018, 5:26 AM
Mohammed