+/EE379K

programming paradigms

git clone https://git.julia.blue/+/EE379K

Joseph RyanFix 'default' switch arm bug36054c3

master
223 B12 linesraw
1public class EarlyReturn {
2    public static void main(String[] s) {
3        int x = 4;
4        if (x % 2 == 0) {
5            x = 3;
6            return;
7        } else {
8            x = 1;
9        }
10        x += 3;
11    }
12}