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

What does @override mean?

0 Answers  


What is meant by collection in java?

0 Answers  


What is substring of a string?

1 Answers  


for what purpose we use applets ?

3 Answers   Mindlogicx,


Can we access instance variables within static methods ?

0 Answers  






What is the primitive type short?

0 Answers  


What is tochararray in java?

0 Answers  


What is run time allocation?

0 Answers   Fidelity,


How will you measure that int takes up only 32 bits in memory?

2 Answers   Rolta,


What class of exceptions are generated by the java run-time system?

0 Answers  


all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.

4 Answers  


Can a constructor be made final?

0 Answers  


Categories