List interface?

Answers were Sorted based on User's Feedback



List interface?..

Answer / 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

List interface?..

Answer / ravikiran(aptech mumbai)

List interface provides classes and interfaces to save the
objects incliding duplicates.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Core Java Interview Questions

explain local datetime api in java8?

0 Answers  


Tell me a few examples of final classes defined in Java API?

0 Answers   DELL,


What does function identity () do?

0 Answers  


How do you take thread dump in java?

0 Answers  


What does it mean that a method or field is “static”?

0 Answers  






can we override the main() method in java????

3 Answers   Vimukti Technologies,


Can singleton class be serialized?

0 Answers  


What is the concatenation operator in java?

0 Answers   Aspire, Infogain,


What are the advantages of java inner classes?

0 Answers  


What does business logic mean?

0 Answers  


How to reverse string in java?

0 Answers  


what is interface in java? Explain

0 Answers  


Categories