• It's reasonable to follow common object-oriented programming practices and have getters and setters in the public interface, but within a class you should always access fields directly.

    通常根据面向对象语言实践公共接口中使用GettersSetters道理的,一个字段经常访问中宜采用直接访问。

    youdao

  • The class and object can have the same name, as we will see in the section called "Companion Objects" in Chapter 6, Advanced Object-Oriented Programming in Scala.

    object可以使用同样名字就像我们第6-Scala高级面向对象编程》的“伴随实体章节看到的那样。

    youdao

  • We'll explore this class in greater detail in Chapter 5, Basic Object-Oriented Programming in Scala.

    我们第5-Scala基础面向对象编程探索这个的更多细节

    youdao

  • In object-oriented programming, an object is the product or instance generated by a class.

    面向对象编程中,对象产物产生实例

    youdao

  • In object-oriented programming, an object is the product or instance generated by a class.

    面向对象编程中,对象产物产生实例

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定