mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
22 lines
258 B
Plaintext
22 lines
258 B
Plaintext
class A {
|
|
void k() {
|
|
System.out.println(23);
|
|
}
|
|
}
|
|
|
|
class B extends A {
|
|
void k() {
|
|
System.out.println(42);
|
|
}
|
|
|
|
}
|
|
|
|
public class C extends B {
|
|
public static void main(String[] args) {
|
|
new C().m();
|
|
}
|
|
|
|
void m() {
|
|
super.k();
|
|
}
|
|
} |