Difference between array and arraylist.

Answer Posted / raja

The Methods Of ArrayList class are
1)Add
2)Remove
3)Clear

5)TrimToSize
6)Sort
7)Reverse

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we declare array without size in java?

636


What is the difference between an interface and an abstract class?

635


Can a singleton class be inherited?

615


Do I need java on my pc?

609


Can we convert list to set in java?

605






In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

954


How do you define a parameter?

673


How do you do a line break in java?

574


What is unicode in java?

604


Explain about arraylist?

663


What are the features of java?

624


What are three advantages of using functions?

642


What is the base class of all exception classes?

675


What is the difference between length and length() method in java?

738


What is the use of isempty in java?

641