java array forloop code example
Example: for loop in java as long as array
for(i = 0; i < arrayName.length; i++{
//print statement will output current index's value
System.out.println(arrayName[i]);
}
for(i = 0; i < arrayName.length; i++{
//print statement will output current index's value
System.out.println(arrayName[i]);
}