mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
26 lines
425 B
Java
26 lines
425 B
Java
public class ClassWithJavaConstructor {
|
|
public static class A {
|
|
final int i;
|
|
final String s;
|
|
|
|
public A(int i, String s) {
|
|
this.i = i;
|
|
this.s = s;
|
|
}
|
|
}
|
|
|
|
public static class B extends A {
|
|
public B() {
|
|
super<error descr="Expected 2 arguments but found 0">()</error>;
|
|
}
|
|
|
|
public B(int i) {
|
|
this(i, "");
|
|
}
|
|
|
|
public B(int i, String s) {
|
|
super(i, s);
|
|
}
|
|
}
|
|
}
|