Is there a java compiler flag that allows me to use goto as a valid construct? If not, are there any third-party java compilers that supports goto?
goto
Java does not allow using goto keyword. However, it allows using labels and using break or continue with label instead of goto. In facts, Java is not a language without goto statement, but a language with uncomfortable implementation of it.
break
continue