Difference between array and arraylist.

Answer Posted / brijendra kumar soni(xavient)

Array is the Coolection of similar type of object.the size
of array is fixed while Array list is the collection of
different data types and the size of array list is growable.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is basic syntax?

553


How many bytes are there?

544


Explain access modifiers in java.

587


What is compareto () in java?

542


Can you sort a string in java?

496






Can we extend singleton class?

535


How to perform selection sort in java?

588


How is a structure different from array ?

584


What are the benefits of java?

577


Which methods are used during serialization and deserialization process?

555


What is better - 'bit-shift a value' or 'multiply by 2'?

701


What is definition and declaration?

530


What do you mean by local variable and instance variable?

518


What is meant by object?

583


How to create com object in Java?

651