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 null data type?

0 Answers  


Explain jvm, jre, and jdk?

0 Answers  


What are the 4 versions of java?

0 Answers  


What is the purpose of the main method?

0 Answers  


What is the difference between a field variable and a local variable?

0 Answers  






What is the Difference between Final Class && Abstract Class?

0 Answers   HCL,


Is 0 true or false?

0 Answers  


How variables are stored in memory?

0 Answers  


Is string serializable in java?

0 Answers  


What are the different types of data structures in java?

0 Answers  


How to deprecate a method? Show it with proper example. Plz give the answer of this.Thanx in advance. mail me: tanzeem.akhtar@gmail.com

2 Answers  


Which number is denoted by leading zero in java?

0 Answers  


Categories