阅读背景:

用于java中全局常量的OOP设计

来源:互联网 

So my question is if I have a father class that is related to a son class by composition. Say the father has 1 million sons. Right now I have a global constant called hair color that is the same for all sons. So in my son class there would be a declaration like the following: So my question is if I have a father class that




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

分享到: