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 |
Can we have return statement in finally clause? What will happen?
What is method and methodology?
Why stringbuilder is not thread safe?
what is difference between prepare stetement and callable starement with example?
What are design patterns and please explain?
What is the default initialized value of a boolean type variable?
What are use cases?
Hi Friends, I am beginner in java. what i know about synchonized keyword is,If more that one 1 thread tries to access a particular resource we can lock the method using synchronized keyword. Then after that how the lock is released and how next thread access that.Please explain with example.
What is the same as procedures?
whats is the use of final,in which situation final can be used in the application?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
what are the purposes of native, transiant key words?