Yesterday, a colleague asked me what is goto? I was just beginning to be very vague about Goto, because when I first approached Java, I remember that the tutor mentioned this question, and after looking at some information yesterday I found that this goto is not much of a role for our Java programmer, But met or simple to do understand it! In fact, the Goto course is very bumpy!
Does Java have a goto?
Note: What is goto?
Goto is a high-level programming language that represents a turn, and now has a reserved but not recommended use of C + +
Goto Benefits: Ensure that the program has a unique exit and avoids overly large if nesting
Goto disadvantage: Goto statement makes the static structure and dynamic structure inconsistent, so that the program is difficult to understand, difficult to error
A: Although Goto is also a keyword in Java, it does not support the use of
This article from the "Easyui Foundation" blog, reproduced please contact the author!
Is there a goto in Java?