Scala中,声明一个常量可以使用哪个关键字?()


Scala中,声明一个常量可以使用哪个关键字?()

A、var

B、val

C、dEf

D、lEt

正确答案:val


Tag:常量 关键字 声明 时间:2024-04-03 16:12:12