summaryrefslogtreecommitdiff
path: root/boil/tests/ex31.java
blob: d5a698088b6befd5ea9b758b17eb0ed793041c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class ex31 {
    public static void main(String[] a) {
        A a ;
        a = new A() ;
    }
}

class A {
    public int foo() {
        return 22 ;
    }

    public int bar() {
        return 42 ;
    }
}