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 |
Is there any use of an abstract class which has no methods and no attributes?
What is a method signature java?
How can you set the applet size?
I Have a class abstract with one abstract method, so that method should override in the subclass, but i dont want to override, if i am not override what will happen? If compilation will occur then i dont want to give compilation error, then what we need to do??? See the sample program. public abstract class AbstractExample { public abstract void sampleMethod(); } public class AbstractExampleImple extends AbstractExample { }
What is numeric promotion?
What will happen to the exception object after exception handling?
Iterator in the HashMap is fail-safe means what?
What is use of arraylist in java?
Can java arraylist hold different types?
When will we use them?
What is the difference in between cpp and java? Can u explain in detail?
placement papaers of spring computing technology
0 Answers Spring Computing Technologies,