• 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

  • On the subsequent remote logins to the system, the environment variable "TMOUT" will be set as read-only and with inactivity value as 60 seconds.

    后续的远程登录系统的过程中,环境变量TMOUT设置只读,并且不活跃60

    youdao

  • The old semantics of volatile only made promises about the visibility of the variable being read or written, and no promises about other variables.

    volatile语义承诺正在变量可见性,承诺其他的变量。

    youdao

  • The up variable is declared as a read-onlyvalue” using the val keyword.

    变量up 被val关键字定义一个只读

    youdao

  • Also, it can be seen that the value of the variable cannot be changed as we set it to read-only.

    此外可以看到变量不可改变因为我们已将之设置只读。

    youdao

  • In a thread-safe program, only one writing thread can modify the variable; other threads can read the up-to-date value by declaring the variable volatile.

    线程安全的程序中,只有线程能够修改这个变量而其他线程可以读取volatile声明变量最新

    youdao

  • Scala allows you to decide whether a variable is immutable (read-only) or not (read-write) when you declare it.

    声明一个变量的时候,Scala允许决定不变的(只读的)还是可变的(可读写的)。

    youdao

  • Scala allows you to decide whether a variable is immutable (read-only) or not (read-write) when you declare it.

    声明一个变量的时候,Scala允许决定不变的(只读的)还是可变的(可读写的)。

    youdao

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

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

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