Difference between array and arraylist.

Answer Posted / nikhil agrawal

array contain the similar datatype element and their size is fixedd where as arraylist contain object and their size is not fixed as aaray and it can grow dynamically. and we can applied so many method on arraylist like add,remove,clear,size etc

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the locale class in java programming?

524


What is the impact of declaring a method as final?

553


What is size_t?

497


What is operator overloading. Is it is supported in java?

514


Difference between comparator and comparable in java?

606






Which programming language is best in future?

516


What are the basic interfaces of java collections framework?

591


What is the meaning of variables in research?

522


Is set ordered?

533


Difference between keyword and identifier.

587


Can we overload the constructors?

553


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

499


What are the 7 types of characters?

558


What is indexof?

535


What about interrupt() method of thread class ?

579