View RSS Feed

Java Array

Java arrays.

  1. Array Variables

    by , 03-04-2012 at 11:12 AM
    Reference to object is being held by the array type variable. Declaration of a variable of array type doesn’t allocate space for the array components or create the array object. But, declarator’s initializer part may make an array and a reference which will become variable’s initial value.

    Array length is not considered as a part of its type therefore an array type’s single variable might possess reference to other array of varying length.

    Given below are few examples ...