≈ the.bay.news

Java 多态:重写、类型转换与动态绑定

DEV Community
Java 多态:重写、类型转换与动态绑定
1. 先理解多态解决什么问题 猫和狗都是动物,都能“吃”,但吃的方式不同。我们希望调用时统一写成...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.