Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 314 Bytes

File metadata and controls

17 lines (13 loc) · 314 Bytes

Unreachable Code

If you write some code directly after a break or continue that code will be "unreachable."

Java knows this and so won't let any code like that run.

~void main() {
// This will not work
while (true) {
    continue;

    IO.println("this is unreachable");
}
~}