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

can we access the super class method using subclass object?

4 Answers  


Difference between a process and a program?

0 Answers   Infosys,


What is the difference between reader/writer and inputstream/output stream?

0 Answers  


What is the program compilation process?

0 Answers  


What is externalizable?

0 Answers  






What is matcher in java?

0 Answers  


I have a Arraylist object, it has duplecate values also. Now question is i want delete duplecate data in that objet with out using Set?

8 Answers   Aricent,


What is number data type in java?

0 Answers  


What are other modifiers?

2 Answers   Wipro,


Is hashmap thread safe?

0 Answers  


What is the relationship difference the canvas class and the graphics class?

0 Answers  


Explain the relationship between the Canvas and Graphics class?

1 Answers  


Categories