📌  相关文章
📜  我们想让一个类的成员可以在所有子类中访问,而不管子类在哪个包中.以下哪个关键字可以实现这一点? - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:12.537000             🧑  作者: Mango

代码示例2
We would like to make a member of a class can access in all subclasses regardless of what package the subclass is in. Which one of the following keywords would achieve this?