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

How thread scheduler schedule the task?

0 Answers  


Can we define package statement after import statement in java?

0 Answers  


Why for each loop is used?

0 Answers  


Is java a utf 8 string?

0 Answers  


What advantage does an entity bean have over a sessin bean?

3 Answers   Adobe,






How is java created?

0 Answers  


Is jdk required on each machine to run a java program?

0 Answers  


What exceptions occur during serialization?

0 Answers  


Is math class static in java?

0 Answers  


What is the diff. b/w Interfaces & Abstract class?

6 Answers   Ericsson,


What is arraylist e in java?

0 Answers  


What are the differences between graph and tree?

0 Answers   Amazon,


Categories