0
What is the drawback of goto jumping statement?
3 Respostas
+ 3
program becomes less readable, hard to debug, hard to track program flow.
java has goto keyword but can't be used.
most of the times goto can be replaced by other constructs like loops and if else. avoid using goto whenever possible.
+ 1
Reduces readability and tracing the flow of control becomes difficult.
By the way the goto statement is not supported in Java.
+ 1
Code inside the label can be executed even without calling the label.