import java.util.Arrays; import java.util.Collections; import java.util.List; public class MainClass { public static void main(String[] a) { List barFlies = Arrays.asList(new String[] { "A", "B", "C" }); Collections.reverse(barFlies); System.out.println(barFlies); } }
[C, B, A]