Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Java 语言规范是否规定了子类中方法覆盖的规则?
在 JLS 中似乎找不到这个。
是的,确实如此。它在第 8.4.8 节中描述。
如果您正在尝试查找某个特定方面并遇到问题,请在您的问题中更加具体 - “方法覆盖的规则”非常广泛。