What are the similarities between an array and an ArrayList?

Answer Posted / harikrishna

An array is indexed fixed number of homogeneous elements.
where as in ArrayList you can create any number of objects
with any type.

Is This Answer Correct ?    4 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is method in research paper?

760


What do you mean by stack?

868


How can you read an integer value from the keyword when the application is runtime in java? example?

853


What are different types of multitasking?

715


Is java a security risk?

784


What method is used to specify a container's layout in java programming?

771


What is the technique adopted to create an immutable class?

760


What are the different types of multitasking?

841


Can we define private and protected modifiers for variables in interfaces?

797


Can we pass a primitive type by reference in java? How

701


What does jre stand for?

800


Which is the class in java?

719


How do you create an array in java?

737


Is a boolean 1 bit?

816


What is the old name of java?

696