blob: fe53dc334eae41b81506edb52605218672324a1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
package test3;
public class EmptyConstructor {
static {}
public int value;
}
class EmptyConstructor2 extends EmptyConstructor {
static {}
public int value2;
}
class EmptyConstructor3 extends EmptyConstructor {
public int value3;
public EmptyConstructor3() {}
public EmptyConstructor3(int x) { super(); }
}
class EmptyConstructor4 extends EmptyConstructor3 {
public static int sv = 3;
public int value3;
EmptyConstructor4(int x) {
super(x);
}
EmptyConstructor4(double x) {
this();
}
EmptyConstructor4() {
value3 = 7;
}
}
|