mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-16 18:10:13 +08:00
方法->访问
This commit is contained in:
parent
3dc5234d3a
commit
b5b0546e59
@ -23,7 +23,7 @@
|
||||
- 类名.静态变量名
|
||||
- 类名.静态方法名()
|
||||
|
||||
如果变量或者方法被 private 则代表该属性或者该方法只能在类的内部被访问而不能在类的外部被方法。
|
||||
如果变量或者方法被 private 则代表该属性或者该方法只能在类的内部被访问而不能在类的外部被访问。
|
||||
|
||||
测试方法:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user