What is the difference between array and arraylist?
what is the difference between arraylist and linkedlist?

Answer Posted / pankaj gupta

in array the size of array is fixed but in case of arraylist
we can add element dynamicaly.
in linkedlist we deal with pointers but their is no pointers
in case of arraylist(eg.c#).

Is This Answer Correct ?    14 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does a boolean method return?

732


How to retrieve data from database in java using arraylist?

624


What does serializing data mean?

607


What is the difference in between cpp and java? Can u explain in detail?

697


What are the disadvantages of object oriented programming?

723






Where local and global variables are stored?

643


what is thread in Java ?

717


Explain the use of javap tool.

710


What is tree in java?

584


What is difference between equal and == in java?

600


What is sortedset in java?

662


What is the advantage of preparedstatement over statement?

680


Why inputstreamreader is used in java?

644


Where can I find jdk in my computer?

558


What is a class component?

720