Why do we declare Private variables in Java?

前端 未结 0 1637
没有蜡笔的小新
没有蜡笔的小新 2020-12-18 06:32

I\'m confused because all I keep hearing is that private variables in Java are supposed to protect the code or the variable. But if anybody has access to the code, then it m

相关标签:
回答
  • 消灭零回复
提交回复
热议问题