• To my mind, a new keyword — such as generator in place of def — would have been a better choice.

    对于我来说,新关键字—比如generator代替def—会是一个比较好的选择。

    youdao

  • The name declaration is treated as the call to your constructor, and you don't have to add the new keyword.

    名称声明可以看作是对构造函数的调用,您不必添加new关键字。

    youdao

  • Another way is to have a button that adds new keyword fields on the fly to allow users to add as many keywords as they want.

    另一种办法是让按钮随时增加新的关键字,允许用户根据需要添加任意多的关键字。

    youdao

  • If we do a quick search on Wicket web applications' source code, we will find that most of the Wicket components are instantiated using the new keyword.

    如果我们快速检索一遍WicketWeb应用的源代码,就会发现大部分Wicket组件都是用new关键字实例化的。

    youdao

  • Here I've used the new keyword enum, given the enum a name, and specified the allowed values. Grade then becomes an enumerated type, which you can use in a manner shown in Listing 3.

    在这里,我使用了新的关键字enum,为enum提供了一个名称,并指定了允许的值。

    youdao

  • A constructor is a function you call to instantiate and initialize a particular type of object. You invoke a constructor with the new keyword. Here are a few examples of using constructors.

    一个构造器是一个函数,你可以调用它实例化和初始化一个特殊的对象类型。

    youdao

  • A constructor is a function you call to instantiate and initialize a particular type of object. You invoke a constructor with the new keyword. Here are a few examples of using constructors.

    一个构造器是一个函数,你可以调用它实例化和初始化一个特殊的对象类型。

    youdao

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

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

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