public class Fu {
public Fu show() {
System.out.println("fu show");
return new Fu();
}
}
public class Zi extends Fu{
@Override
public Zi show() {
System.out.println("zi show ");
return new Zi();
}
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |