mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-20 22:17:09 +08:00
commit
42a2de832b
@ -23,7 +23,7 @@
|
|||||||
- 类名.静态变量名
|
- 类名.静态变量名
|
||||||
- 类名.静态方法名()
|
- 类名.静态方法名()
|
||||||
|
|
||||||
如果变量或者方法被 private 则代表该属性或者该方法只能在类的内部被访问而不能在类的外部被方法。
|
如果变量或者方法被 private 则代表该属性或者该方法只能在类的内部被访问而不能在类的外部被访问。
|
||||||
|
|
||||||
测试方法:
|
测试方法:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user