Difference between array and arraylist.

Answer Posted / nagarjunareddy.sannapareddy

array is a collection of similar type of data and the
capacity of array is fixed and it define with in system name
pace
array list it hold different type of data and the capacity
of hairstylist is increase dynamically it define withe in
system.collections name space

Is This Answer Correct ?    29 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does it mean that strings are immutable?

695


How to sort double array in java?

677


What is a nonetype?

647


What is the major drawback of internal iteration over external iteration?

669


Which are the two subclasses under exception class?

619






What is member in java?

577


How will you load a specific locale?

618


What is included in core java?

682


Write a program to find the greatest of three numbers in java?

654


Can you explain inner class.

707


What is a condition in java?

624


How to perform quicksort in java?

659


Can you instantiate the math class in Java?

701


What is fundamental datatype?

618


What are the kinds of polymorphism?

717