View RSS Feed

Java Array

Java arrays.

  1. Array Initializers

    by , 03-04-2012 at 11:14 AM
    In a declaration, an array initialize might be specified. It also might be specified as an array creation expression part, that gives certain initial values and creates an array.

    ArrayInitializer:
    { VariableInitializersopt ,opt }

    VariableInitializers:
    VariableInitializer
    VariableInitializers , VariableInitializer

    To make it further clear:

    VariableInitializer:
    Expression
    ArrayInitializer
    ...
    Categories
    Initialize