Alternative way of using goto in java?? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 6

Alternative way of using goto in java??

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