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 is the difference between hashmap and hashtable? What is an interface?
Can we have static methods in an interface?
What is variable declaration and definition?
What is mean by exception?
how are methods defined?
How many bits is a char?
Where is the find and replace?
Can we create an object of private class?
What is methods and methodology?
What is null statement?
Explain the difference between private, public, package and protected in java?
Define the term string pool?
Can an interface have a class?
What's the difference between comparison done by equals method and == operator?
what is the constructor and how many types of constructors are used in java?