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 are the important features of Java 10 release?
In a class implementing an interface, can we change the value of any variable defined in the interface?
What is the difference between notify and notifyall method?
Can we convert stringbuilder to string in java?
Difference between nested and inner classes ?
What is application system?
What is java util?
Is ++ operator is thread safe in java?
What is a concrete classes? Is Java object class is concrete class?
What is thread start?
Write a program to reverse a number in java?
What do you mean by default constructor in java?
How are variables stored?
What are keywords and reserved words in java?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?