Hello again. I have an array of friends names and I want to print it in reverse. I know this question seems a bit lazy, but i really have tried casting the string as ints and even using lazy = String,valueOf(i) etc but No luck so far. Thanks
//FriendList.java public class FriendList { public static void main (String[] args) { String [] friends = {"danny", "vic", "Laura", "Mike", "Jenny", "Asrath"}; System.out.println ("My first 6 best friends are: "); for (String lazy : friends) System.out.println (lazy + " "); System.out.println ("Now them in reverse"); //Problems begin here for (String lazy = friends.length; lazy >= 0; lazy--) System.out.println (lazy + " "); } }