List interface?
Answers were Sorted based on User's Feedback
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 |
Answer / ravikiran(aptech mumbai)
List interface provides classes and interfaces to save the
objects incliding duplicates.
Is This Answer Correct ? | 0 Yes | 2 No |
What does @override mean?
What is meant by collection in java?
What is substring of a string?
for what purpose we use applets ?
Can we access instance variables within static methods ?
What is the primitive type short?
What is tochararray in java?
What is run time allocation?
How will you measure that int takes up only 32 bits in memory?
What class of exceptions are generated by the java run-time system?
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.
Can a constructor be made final?