go top

有道翻译

declare a constant

声明一个常量

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • While static properties are often declared private to prevent meddling, there is one way of creating a read-only statically scoped property: You can declare a constant.

    尽管静态属性通常声明private防止别人干预,但一种方法可以创建只读静态范围属性,即声明常量

    youdao

  • You can declare a new NAMESPACE constant, which is implicitly made a constant and from the character data type.

    可以声明新的NAMESPACE常量式声明了一个字符数据类型常量。

    youdao

  • It would be better if you could give this constant a name and then use it everywhere in the program. You could, of course, simply declare it as a local variable by writing.

    这样的话如果可以这个常量一个名字然后程序所有需要地方通过名字使用这个常量,将非常方便。

    youdao

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

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

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