Question: Java programiing Create an ArrayList of southwestern states (SStates), and add the following states to it: Texas New Mexico Arizona Colorado Arkansas Do the following:
Java programiing
Create an ArrayList of southwestern states (SStates), and add the following states to it:
Texas New Mexico Arizona Colorado Arkansas
Do the following:
1. Print out the list of southwestern states
2. Add a new state, Oklahoma. Put it in the 4th position (so Colorado slides to 5th and Arkansas to 6th)
3. Delete Arkansas; it isnt really a southwestern state
4. Print out the list of southwestern states, each on a separate line.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
