sout elements of array with indexes java code example Example: arrays //Javascript Array var fruitList = ["Bananas", "Apples", "Oranges"]