• 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

  • Static fields that are neither constants nor read-only are not thread-safe.

    不是常数也不是只读字段静态字段不是线程安全的。

    youdao

  • Because the compiler allocates constant strings in a static read-only memory, any attempts to modify it cause access violations and random crashes.

    因为编译静态只读内存中分配常数字符串,所以,尝试修改内存会导致访问冲突随机崩溃。

    youdao

  • Because the compiler allocates constant strings in a static read-only memory, any attempts to modify it cause access violations and random crashes.

    因为编译静态只读内存中分配常数字符串,所以,尝试修改内存会导致访问冲突随机崩溃。

    youdao

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

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

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