Zoo tutorials: [ SQL | Linux | XML ]
ProgZoo: [ Java | C# | VB | C++ | Perl ]
Log in

A Gentle Introduction to
Java Programming

Tutorial: Array

 

We can define a fixed size Array of items.

1. A named array and an anonymous array


Big

We create an array of strings sa and then print out each item.

The second array - of integers - has not been named. This anonymous array must include the phrase new int [] before the literal values.