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