go top

类的静态成员变量

网络释义

  static member

局部变量 类的成员变量(member) 类的静态成员变量(static member) 静态变量(static) 外部全局变量(global) 静态全局变量(static global)

基于46个网页-相关网页

有道翻译

类的静态成员变量

Static member variable of a class

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

双语例句

  • 如果所有实例维持一个变量实例用到静态成员变量

    If you want to maintain a single instance of a variable for all instances of a class, you will use static-class member variables to do it.

    youdao

  • 数字变成是Classifier 2中的成员变量将允许避免作为参数传递大堆静态方法

    I've made the number a member variable within the Classifier2 class, which allows me to avoid passing it around as a parameter to a bunch of static methods.

    youdao

  • 回答你的问题基本。静态变量函数或者类的成员变量或局部变量初始一次,终止。例如;

    So as you see although we call foo function three times the initialization of a static varible is done only once.

    youdao

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

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

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