A fully encapsulated class has:
1.Private variables
2.Public methods to access the class's properties.这个类里面少了访问diameter的public方法。

解决方案 »

  1.   

    to: Mars_lee(二子);
    那么是说A fully encapsulated class :
    1.Private variables
    2.Public method to access the class's properties.3.each private variables must have a method to access theses variables?
    每一个私有或公有(private or public or protected)变量都必须有相应的方法访问吗?如果没有,就不算 fully encapsulated?
    不知道我理解的对不对?
      

  2.   

    麻烦大虾帮助解决
    http://www.csdn.net/expert/topic/538/538277.xml
    谢谢!
      

  3.   

    to xiaobi_liang:
    我认为是这样的,但是还没有找到准确的定义!