if_else.mj 301 Bytes
Newer Older
uwdkn's avatar
uwdkn committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
class Foo {
    public static void main(String[] args) {
        if (true) {
            System.out.println(1);
        } else {
            System.out.println(0);
        }

        if (false) {
            System.out.println(0);
        } else {
            System.out.println(1);
        }
    }
}