collection to list

Hi how do I convert a collection to arraylist
[52 byte] By [vik1491a] at [2007-11-27 6:36:08]
# 1
Collection c = ...ArrayList al = new ArrayList(c);
dcmintera at 2007-7-12 18:03:34 > top of Java-index,Java Essentials,New To Java...
# 2
test. please remove.
walter_louisga at 2007-7-12 18:03:34 > top of Java-index,Java Essentials,New To Java...
# 3
> test. please remove.I'm sorry to inform you that your test has failed.
mlka at 2007-7-12 18:03:34 > top of Java-index,Java Essentials,New To Java...
# 4
> Hi how do I convert a collection to arraylistAllow me to introduce you to Mr. API: http://java.sun.com/javase/6/docs/api/java/util/ArrayList.htmlThe second entry (after the no-arg constructor) is what you are looking for.
Hippolytea at 2007-7-12 18:03:34 > top of Java-index,Java Essentials,New To Java...