Skip to content

Invalid example in Multi-Dimensional Array (Initialization with new) section. #168

@NyteSyntax

Description

@NyteSyntax

Initialization with new

int length = (new int[25][25] {}).length;

Compilation error: array creation with both dimension expression and initialization is illegal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions