Java 多态

 

使用 多态之后:

字段不存在覆盖,只有方法才有覆盖!字段只能隐藏!

代码块:

原文地址:https://www.cnblogs.com/jiangxifanzhouyudu/p/6624995.html