Created by vgeetha
over 11 years ago
|
||
What are arrays?
element of an array
array index
name of the array
for(int i=0; i<arrayname.length; i++)
{
------
}
for(String s: name)
{
----
}
for each loop
for next loop for arrays
arrayName.length
array can store the
an array can store only
arrayName[5] refers to the
apart from primitive data types arrays can also store