Question: How can i do forward jumps like this?? Eclipse is complaining label1 is not found...

Thx

```
public class foo {

    int xyz() {
        int b = 1;

        if (b == 0) {
            break label1;
        }

        // MORE CODE HERE

        label1:

            return 1;

    }
}

```

Answer: 
You can't do that. You can only break out of an **enclosing** loop structure. You don't have a loop structure at all. Try this instead:

```
public class foo {

    int xyz() {
        int b = 1;
        boolean skip = false;

        if (b == 0) {
            skip = true;
        }

        if (!skip) {
            // MORE CODE HERE
        }
        return 1;
    }
}

```
I addition to the previous answers, why not just

```
if (b == 0) {
 return 1;
}

```

?