Answer Posted / ravichandra
list inteface can have three types are 1.linkedlist
2.arraylist 3.vector
1.arraylist:It is dynamically growing array that stores
objects.It is not synchronized.
ex:-
ArrayList arl = new ArrayList();
2.Vector:-It is dynamically growing array that stores
objects.It is synchronized.
EX:-
Vector v= new Vector();
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What state does a thread enter when it terminates its processing in java programming?
How do you sort arraylist in descending order?
Is age a discrete variable?
Can one thread block the other thread?
What are the different http methods?
Which types of exceptions are caught at compile time?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
What is the function of character?
When we should use serialization?
What is "this" keyword in java? Explain
What is meant by collection in java?
What are the features of java?
Can list be null in java?
What is difference between jdk,jre and jvm?
Why main method is static in java?