阅读背景:

Java约定:在类中使用getter / setter吗?

来源:互联网 

My professor really emphasizes protecting against privacy leaks by always using accessors and mutators to access private instance variables; however, do I have to use the getters/setters of a class within the class?My professor really emphasizes protecting again




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: