There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Originally posted by Garrett Rowe:
There is no ArrayList constructor that accepts an array argument. You can convert the array to a List using java.util.Arrays.asList() or you can *manually* insert each element of an array into a newly created ArrayList. You cannot pass an array to an ArrayList constructor.
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Originally posted by Garrett Rowe:
I'm not sure what to think of your comment at this line:
Well doneOriginally posted by Carie Adasek:
Got it working.
That is the idea; you will remember it a lot better next time.Originally posted by Carie Adasek:
Thanks for the comments - got me thinking!