Alternative way of using goto in java?? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 6

Alternative way of using goto in java??

9th Aug 2018, 11:14 AM
Rahul Mittal
Rahul Mittal - avatar
1 Antwort
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