mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
17 lines
246 B
Java
17 lines
246 B
Java
class T1 {
|
|
int method(int i) {
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
class T2 extends T1 {
|
|
int method(int i) {
|
|
return <selection>super.method(i) + 1</selection>;
|
|
}
|
|
}
|
|
|
|
class Usage {
|
|
int m() {
|
|
return new T2().method(0);
|
|
}
|
|
} |