public class Main {
public static void main(String[] args) {
String[] colors = {"black", "yellow", "red", "blue"};
}
How does one flip/move element 3 ("blue") to element 0 ("black") in Java?
Thanks in advance!
public class Main {
public static void main(String[] args) {
String[] colors = {"black", "yellow", "red", "blue"};
}
How does one flip/move element 3 ("blue") to element 0 ("black") in Java?
Thanks in advance!