• 类型推断情况下,编译器根据上下文推断类型

    In type inference, the compiler infers the types of values based on the context.

    youdao

  • 对于向上转换运算如果编译无法根据上下文推断特定目标类型,则将报告错误

    As for the upcast operator, if the compiler cannot infer a specific target type from the context, it reports an error.

    youdao

  • 使用向上转换运算编译会尝试根据上下文推断转换为的类型

    When you use the upcast operator, the compiler attempts to infer the type you are converting to from the context.

    youdao

  • 下面表达式指定按层次结构向下转换一个根据程序上下文推断类型

    The following expression specifies a conversion down the hierarchy to a type that is inferred from program context.

    youdao

  • 下面表达式指定按层次结构向下转换一个根据程序上下文推断类型

    The following expression specifies a conversion down the hierarchy to a type that is inferred from program context.

    youdao

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

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

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