当前位置:首页 » 翻译 
  • 匿名
关注:1 2013-05-23 12:21

求翻译:In the spirit of encapsulation, it is common to make fields private. This means that they can only be directly accessed from the Bicycle class. We still need access to these values, however. This can be done indirectly by adding public methods that obtain the field values for us:是什么意思?

待解决 悬赏分:1 - 离问题结束还有
In the spirit of encapsulation, it is common to make fields private. This means that they can only be directly accessed from the Bicycle class. We still need access to these values, however. This can be done indirectly by adding public methods that obtain the field values for us:
问题补充:

  • 匿名
2013-05-23 12:21:38
在封装的精神,是很常见的让私人领域。
  • 匿名
2013-05-23 12:23:18
在封闭的精神上,它是共同的使领域私有。这意味着他们可能从自行车类直接地只访问。然而我们仍然需要对这些价值的通入。这可以由增加得到我们的领域价值的公开方法间接地完成:
  • 匿名
2013-05-23 12:24:58
在封闭的精神,它是共同的使领域私有。 这意味着他们可能从自行车类直接地只访问。 然而我们仍然需要对这些价值的通入。 这可以由增加得到领域价值为我们的公开方法间接地完成:
  • 匿名
2013-05-23 12:26:38
在封装的精神,它是共同使私有字段。这意味着他们只能直接访问从自行车类。然而,我们仍然需要访问这些值。这可以间接地通过添加为我们获得的字段值的公共方法:
  • 匿名
2013-05-23 12:28:18
在胶囊的精神中,它是共同的使地变得私人。这表示他们只能直接从自行车课被存取。我们仍需要对这些值的访问权限,然而。这可以非直接通过添加那为我们获取领域值的公共方法完成:
 
 
网站首页

湖北省互联网违法和不良信息举报平台 | 网上有害信息举报专区 | 电信诈骗举报专区 | 涉历史虚无主义有害信息举报专区 | 涉企侵权举报专区

 
关 闭