iwanna known about what goto statement is used for with an exmple
What is goto statement used for? Provide a simple example
Collapse
X
-
There is no goto statement in Java.
You can create a label and you can continue your code execution to that label.
This may help you understand the goto statement in general.
Regards
Dheeraj Joshi
Comment