标签:style sys 方法重载 区别 ext The void 重写与重载 重载
如:
public class Father { public void speak() { System.out.println("Father"); } } public class Son extends Father { public void speak() { System.out.println("son"); } }
标签:style sys 方法重载 区别 ext The void 重写与重载 重载
原文地址:https://www.cnblogs.com/jiekun/p/6729767.html