📌  相关文章
📜  static 为什么我们在 android 中使用 - 任何代码示例

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

代码示例1
In Java, static keyword is mainly used for memory management. It can be used with variables, methods, blocks and nested classes. It is a keyword which is used to share the same variable or method of a given class. Basically, static is used for a constant variable or a method that is same for every instance of a class