Difference between array and arraylist.

Answer Posted / sharath

Array is collection of similar
data items.
ArrayList is a utill package its a collection.
Array can store primitive and fixed size.
ArrayList are Stores object only and resizable.

Is This Answer Correct ?    45 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how does multithreading take place on a computer with a single cpu? : Java thread

684


What is the difference between public, private, protected, and friend access?

566


What is java beans?

565


What is a class variable?

559


What is the relationship difference the canvas class and the graphics class?

553






what is the difference between thread and runnable types? : Java thread

540


Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.

7403


What is the full name of java?

559


What is the use of runnable interface?

599


Is oracle charging for java?

536


How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?

567


What is garbage collector?

612


How to perform binary search in java?

564


EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.

8608


What is the difference between access specifiers and access modifiers in java?

565