> Online tutorial : array creation java
Showing posts with label array creation java. Show all posts
Showing posts with label array creation java. Show all posts

array creation java

Array Creation
  • An array is created by an array creation expression or an array initializer
  • An array  creation expression specifies the element type, the number of levels
    of nested arrays, and the length of the array for at least one of the levels of nesting.
  • The array’s length is available as a final instance variable length.
  • It is a compiletime error if the element type is not a reifiable type
  • An array initializer creates an array and provides initial values for all its components