1. Technology

Array

By

Definition:

An array is a way of grouping together values of the same data type together. It's a container much like a row of boxes where each box can hold a value and each box can be looked into to retrieve a value. Each box in an array is known as an element. The number of elements in an array is fixed.

Read Working with Arrays for more information.

Example

To declare a ten element int array:

int[] intArray = new int[10];

Glossary:

# A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

  1. About.com
  2. Technology
  3. Java
  4. Java Glossary
  5. A
  6. Java Term: Array

©2014 About.com. All rights reserved.