1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-20 22:17:09 +08:00

方法->访问

This commit is contained in:
geyingauv 2019-01-03 11:28:12 +08:00
parent 3dc5234d3a
commit b5b0546e59

View File

@ -23,7 +23,7 @@
- 类名.静态变量名
- 类名.静态方法名()
如果变量或者方法被 private 则代表该属性或者该方法只能在类的内部被访问而不能在类的外部被方法
如果变量或者方法被 private 则代表该属性或者该方法只能在类的内部被访问而不能在类的外部被访问
测试方法: