Difference between array and arraylist.
Answer Posted / ranganathkini
A java.util.ArrayList has the following characteristics over
an array:
1. Provides a resizable array implementation
2. Implements the java.util.List interface
3. Has a tuning parameter called initialCapacity which
specifies the number of elements the ArrayList can hold
before it has to be resized.
| Is This Answer Correct ? | 174 Yes | 44 No |
Post New Answer View All Answers
What is a static method in java?
Is empty in java?
What are wrapper classes in java?
Explain the importance of throwable class and its methods?
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???
What is implicit object in java?
What is the point of polymorphism java?
What are the basic control structures?
What is abstraction in java?
Which is better list or arraylist in java?
What is module in oop?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What is high level language in computer?
What is the purpose of return statement?
Can we override compareto method?