Possible Duplicate:
Primitive Array vs ArrayList
What is the difference between List and Array in java? or the difference between Array and Vector!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In general (and in Java) an array is a data structure generally consisting of sequential memory storing a collection of objects.
Listis an interface in Java, which means that it may have multiple implementations. One of these implementations isArrayList, which is a class that implements the behavior of theListinterface using arrays as the data structure.There are a number of other classes that implement the
Listinterface. One easy way to take a look at them is by viewing the Javadoc forList: http://docs.oracle.com/javase/6/docs/api/java/util/List.htmlOn that page, you’ll see “all known implementing classes,” which are all of the kinds of lists in Java.