Skip to content

第六章 初始化清理 动态数组段落翻译错误 #449

@bluedreamteng

Description

@bluedreamteng

原文:( new won’t create a non-array primitive):
翻译为:不能用 new 创建单个的基本类型数组

原文意思应该为: new不能创建非数组的基本类型。
也就是类似 int a = new int(); 这种语法是不合法的。 这段内容与原文意思出入很大。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions