go top

read-only variable

  • 只读变量

网络释义

  只读变量

...来源于 constant 这个词,但是用 Const 类型定义的变量,其实依然是 变量(variable) ,最多称为只读变量(read-only variable) ,而不是常量(constant) 。变量存 放在栈或者堆中,而堆栈里的内容,理论上都是可以改变的。

基于20个网页-相关网页

双语例句

  • youdao

  • The first line USES the val keyword to declare a read-only variable named book.

    在第一行我们使用了val关键字来声明一个只读变量book。

    youdao

  • In other words, this means that the old memory model made promises only about the visibility of the variable being read or written, and no promises about the visibility of writes to other variables.

    换句话说,这意味着老的内存模型只保证正在读或写的变量的可见性,不保证写入其他变量的可见性。

    youdao

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

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

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