mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
19 lines
305 B
Java
19 lines
305 B
Java
class ParentCtor {
|
|
public static final String PARENT_CONST = "";
|
|
|
|
public ParentCtor(String s) {
|
|
}
|
|
}
|
|
|
|
class ChildCtor extends ParentCtor {
|
|
public ChildCtor(boolean b) {
|
|
super(PARENT_CONST);
|
|
}
|
|
}
|
|
|
|
class Usage {
|
|
public void test() {
|
|
new <caret>ChildCtor(true);
|
|
}
|
|
}
|