android 文档中的 "Inherited constants" 和 "Inherited fields" 有什么区别?
What is the difference between "Inherited constants" and "Inherited fields" in android documentation?
我对 android 文档中的这两个术语感到困惑!!
these screenshot about what i mean
常量是使用 static
和 final
修饰符声明的字段。继承常量将包括 public
或 protected
的所有父常量,继承字段将包括 public
或 protected
.
的所有父字段
'Constants'即'fields',通常设置为"static final"。
我对 android 文档中的这两个术语感到困惑!! these screenshot about what i mean
常量是使用 static
和 final
修饰符声明的字段。继承常量将包括 public
或 protected
的所有父常量,继承字段将包括 public
或 protected
.
'Constants'即'fields',通常设置为"static final"。