while.mj 238 Bytes
Newer Older
uwdkn's avatar
uwdkn committed
1 2 3 4 5 6 7 8 9 10 11 12 13
class A {

    public static void main(String[] args) {
        int x = 0;
        boolean a = false;
        while(a) { x = 1; }
        System.out.println(x);

        while(x < 5) { x = x + 1; }
        System.out.println(x);
    }
}