Difference between array and arraylist.

Answer Posted / suhas

Array: can store primitive ArrayList: Stores object only
Array: fix size ArrayList: resizable
Array: can have multi dimensional
Array: lang ArrayList: Collection
framework

Is This Answer Correct ?    74 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can string be considered as a keyword?

680


What is the difference between actual and formal parameters?

593


What is the difference between preemptive scheduling and time slicing?

694


Explain the difference between comparator and comparable in java?

575


Name four container classes.

643






What is the formula to calculate percentage?

620


What is the private method modifier?

691


What happens if an exception is throws from an object's destructor?

675


What is the basic concept of java?

636


How to read and write image from a file ?

651


Can we define a package statement after the import statement in java?

684


Java is Pass by Value or Pass by Reference?

700


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

1758


Which keyword specify that a variable is effectively final ?

667


when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???

1775