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 is a variable declaration?

0 Answers  


Why do we use variables?

0 Answers  


What is lambda programming?

0 Answers  


Garbage collection in java?

0 Answers  


Briefly explain the term Spring Framework

1 Answers  


Explain the importance of import keyword in java?

0 Answers  


Difference between Interface & Abstract class?

5 Answers  


How many bits is a string?

0 Answers  


Are functions objects in java?

0 Answers  


Is main an identifier?

0 Answers  


What is bool mean?

0 Answers  


what is the difference between Cpp And Java

15 Answers   Infosys,


Categories