class MainApplication {

    public static void main(String args[]) {

        int x = 0;

        while (x <= 10) {

            if (x==5) System.out.println("x = " + x);

            x++;
        }
    }
}
---

public class TestMath {

    public static void main(String[] args) {

        int x = 0;

        SomeMath math = new SomeMath();

        x = math.add(1,2);

        System.out.println("x = " + x);

    }
}
---

public static int fib(int n) {
    if (n < 2) {
        return n;
    } else {
        return fib(n-1)+fib(n-2);
    }
}
---

class Sound {

    public void beep() {

        System.out.println("\007");

    }

}
---

public class TestBeep {

    public static void main(String[] args) {

        Sound mySound = new Sound();

        mySound.beep();

    }

}
