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

Why do I need to declare the type of a variable in java?

570


What is JFC?

718


What is the default size of set in java?

504


Explain the purpose of garbage collection in Java?

580


Is java map thread safe?

495






What does singleton class mean?

541


How to call one constructor from the other constructor ?

611


What are the properties of thread?

506


What is the difference between delete and delete[]

586


What restrictions are placed on method overloading in java programming?

578


Can we create a constructor in abstract class?

575


Why method overriding is used?

543


please send me hr interview questions in it industry

1672


What is the purpose of tostring() method in java?

558


What is a protected method?

598