aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test1/EmptyBody.java
blob: 9a098538d032484c3e0cd25202dac397c1d5e4b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package test1;

public abstract class EmptyBody {
    public EmptyBody() {}
    public EmptyBody(int i) {}
    public EmptyBody(String i) { System.out.println(i); }
    public EmptyBody(double d) { this(3); }

    public void m1(int i, int j) {}
    public void m2(int i, int j) {
	try { return; }
	catch (Exception e) {}
    }

    public int m3(int k) { return 0; }

    public native int m4();

    public abstract int m5();
}