I have an array..
Code:
String[] cities= {"A", "B", "C", "D", "E"};
I want to create loop which operates on the array with these elements:

loop 1: cities = {"B", "C", "D", "E"}
do something;

loop 2: cities = {"A", "C", "D", "E"}
do something;

loop 3: cities = {"A", "B", "D", "E"}
do something;

loop 4: cities = {"A", "B", "C","E"}
do something;

loop 5: cities = {"A", "B", "C", "D",}
do something;

How do i create the cities array during each loop operation like the 5 i described above during each loop cycle?