class Fu {
public void run() {
System.out.println("Fu run");
}
public void print() {
System.out.println("print");
}
}
class Zi extends Fu {
public void method() {
System.out.println("Zi method");
}
public void run() {
System.out.println("Zi run");
}
} |
|