Using Array Elements
Using Array Elements
println(shoppingList); // Prints full array
println("My shopping list includes: " + shoppingList[0] + ", " + shoppingList[1] +
", " + shoppingList[2] + ", " + shoppingList[3] + ", and " + shoppingList[4] +
".");
// Prints "My shopping list includes: milk, bread, eggs, bottled water, and soda."Adding Elements to an Array
Removing Elements from an Array
Sorting Arrays
Last updated