go top

隐式类型局部变量

网络释义

  Implicitly Typed Local Variables

这里我还偷偷使用了另一个特性——隐式类型局部变量implicitly typed local variables),它使用var上下文关键字声明。编译器可以根据该变量的初始值推断其类型。

基于8个网页-相关网页

有道翻译

隐式类型局部变量

Implicit type local variable

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 思意,“类型局部变量无法用于变量常量声明中,否则将导致编译错误

    Also as the name says, implicitly typed local variable, you cannot use var for field declaration or constant variables, therefore following declarations will both produce a compiler error.

    youdao

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

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

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