• Indeed, 'a string' is a constant string you can't modify.

    事实上,‘astring’是一个不能修改的常量字符串。

    youdao

  • By using a constant string, you avoid allocating memory, copying the string, and the transcoding process.

    通过使用常量字符串,可以避免分配内存、复制字符串和编码转换过程。

    youdao

  • The second case expression uses a wildcard for the firstName part of Person but matches against the constant string Neward in the lastName part and wildcards against the age part.

    第二个case表达式在Person的firstName部分使用了一个通配符,但在lastName 部分使用常量字符串Neward 来匹配,在age 部分使用通配符来匹配。

    youdao

  • This can be avoided by storing the constant string into a local array and then using the array as the argument to the function.

    这可以通过以下方法来避免:将常数字符串存储在某个本地数组中,然后将该数组用作函数的参数。

    youdao

  • This warning indicates the use of a constant string as an argument to a function that might modify the contents of that string.

    此警告意味着将常数字符串用作可能修改该字符串内容的函数的参数。

    youdao

  • This warning indicates the use of a constant string as an argument to a function that might modify the contents of that string.

    此警告意味着将常数字符串用作可能修改该字符串内容的函数的参数。

    youdao

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

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

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