4.1 package
4.2 import
4.3 class
4.4 interface
4.5 Modifiers
4.6 Field
4.7 Method
4.9 Statement
4.10 ArrayInit
4.11 Expression
top
up

4.10ArrayInitπŸ”— i

This syntax specifies an array to be created holding initial values as specified.

{Expression,...}

This form creates a one dimensional array, where the values are the result of evaluating each expression, left to right.

{ArrayInit,...}

This form creates a multi-dimensional array, where the values for this array are arrays, with their values specified by the ArrayInit.

top
up

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /