Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Timeline for Arraylist and List in Java

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Feb 6, 2015 at 12:15 comment added Elliott Frisch ArrayList doesn't have a constructor that takes an array.
Feb 6, 2015 at 8:17 comment added George This info is great. My question is why do we need to pass it as Arrays.asList(forecastArray) instead of simply forecastArray.
Feb 6, 2015 at 6:41 comment added Stack Exchange Broke The Law And the list returned by Arrays.asList`` is neither an ArrayList` nor a LinkedList - indeed, it's a type you don't have access to, so you can't use the actual type.
Feb 6, 2015 at 6:01 history answered Elliott Frisch CC BY-SA 3.0