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 is the importance of finally block in exception handling?

514


How an object is serialized in java?

510


Explain the usage of this with constructors?

510


Give few examples of final classes defined in Java API?

679


What is multiple inheritance? Is it supported by java?

499






How is final different from finally and finalize?

473


Which is bigger float or double java?

498


What are constructors in java?

547


What do you meant by active and passive objects?

586


How do you identify if jvm is 32-bit or 64-bit from java program?

513


What are the 7 types of characters?

543


Can you make a constructor final?

552


What is nan inf?

483


Can we clone singleton object in java?

536


Can we override private method?

537