Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Arraylist or Array

  Asked By: Alex    Date: Jul 15    Category: Java    Views: 752
  

Can anyone tell me what's the diff of using ArrayList
or Array?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Noah Evans     Answered On: Jul 15

If you looked at the Java API you would see that the ArrayList is
resizeable. The array  is fixed in length.

ArrayList holds Objects. Array is typed.

 
Answer #2    Answered By: Candace Foster     Answered On: Jul 15

If anybody answers this question they are doing more harm than good!

This question should be obvious to any student who knows where the java
API is (java.sun.com).

 
Didn't find what you were looking for? Find more on Arraylist or Array Or get search suggestion and latest updates.




Tagged: