Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
March 23, 2008 ICS102: The course 1 March 23, 2008 ICS102: The course 2
 

Summary: March 23, 2008 ICS102: The course 1
Arrays 1/4
March 23, 2008 ICS102: The course 2
Outline
Introduction
Creating and Accessing Arrays
Declaring and Creating an Array
Referring to Arrays and Array Elements
Three Ways to Use Square Brackets [] with an Array Name
The length Instance Variable
Initializing Arrays
March 23, 2008 ICS102: The course 3
- Introduction to Arrays
An array is a data structure used to process a collection of
data that is all of the same type
An array behaves like a numbered list of variables with a
uniform naming mechanism
It has a part that does not change: the name of the array
It has a part that can change: an integer in square brackets
For example, given five scores:

  

Source: Adam, Salah - Department of Information and Computer Science, King Fahd University of Petroleum and Minerals

 

Collections: Computer Technologies and Information Sciences