Hey, i have to do a program that works with arrays.
i have list1[] which goes from 0 to 9. in each i have a random number. i need to get list2[] from 0 to 9, that gets the random numbers in list1[] and puts them in descending order (greater to least)...
could you write an example so i can see how it goes... or explain or something...
thanks
s_pedro
Comments
Take a look here [link=http://java.sun.com/j2se/1.4.2/docs/api/java/util/ArrayList.html]http://java.sun.com/j2se/1.4.2/docs/api/java/util/ArrayList.html[/link].
Always look at the Java Doc!
thanks