class Main {
public static void main(String[] args) {
// type of variable name of array define elements
// String, int, double myArray theArray { " ", " ", };
// arrays ALWAYS START AT 0
// 0 1 2 3 4
String [] firstName = {"Tyler","Troy","Ezra","Mohammad","Mahmoud"};
System.out.println(firstName[2]);
for( ){
//do stuff so many times...
}
}
}
/*
String [] fruit = {"Apple", "Pear", "Banana", "Orange", "Kiwi"};
for(int x=0;x<fruit.length; x++){
System.out.println(fruit[x]);
}
}
}*/