18 lines
239 B
Plaintext
18 lines
239 B
Plaintext
|
import java.lang.Integer;
|
||
|
|
||
|
public class Parent {
|
||
|
public Integer x;
|
||
|
|
||
|
public Parent(Integer a) {
|
||
|
this.x = a;
|
||
|
}
|
||
|
|
||
|
public Parent() {}
|
||
|
}
|
||
|
|
||
|
public class Child extends Parent {
|
||
|
public Child() {
|
||
|
super(3);
|
||
|
}
|
||
|
}
|