View RSS Feed

Java Array

Java arrays.

  1. Array Types

    by , 03-04-2012 at 11:10 AM
    To write an array type use element type name with few empty square bracket pairs[]. Depth of array nesting is indicated by the no. of bracket pairs. Length of array is not its type part.

    An array’s element type might be any type whether reference or primitive. Particularly,

    • Arrays along with an interface type, as the component type are allowed. Such array’s elements might use null reference as their value or any type instances which implements interface.
    • Arrays
    Tags: array types Add / Edit Tags