13 lines
110 B
Java
Executable File
13 lines
110 B
Java
Executable File
|
|
class A {
|
|
|
|
public m1() {
|
|
}
|
|
}
|
|
|
|
public class TestSimpleInheritance extends A {
|
|
|
|
public m(x) {
|
|
x.m1();
|
|
}
|
|
} |