List interface?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does flag mean in java?

544


What is the formula to calculate percentage?

539


What happens if an exception is throws from an object's destructor?

588


Which method returns the length of a string?

573


Can we use string in the switch case?

579






What are the access modifiers available in java?

568


Explain what are final variable in java?

578


Which number is denoted by leading 0x or 0x in java?

566


Is null keyword in java?

533


What are Normalization Rules? Define Normalization?

551


How much ram can a 64 bit processor theoretically?

468


How many bits is a word?

571


What are the 6 boolean operators?

556


What is the function of log?

548


Is null a keyword in java?

559