Answer Posted / dhaval
there is a method dont remember the name perfectly
though......Collections.synchronizedList(myList)
ArrayList myList = new ArrayList();
Collections.synchronizedList(myList)
Is This Answer Correct ? | 7 Yes | 14 No |
Post New Answer View All Answers
Explain restrictions for using anonymous inner classes?
What languages are pass by reference?
What is regex used for?
What is callable java?
What is the base class in java from which all classes are derived?
What are the difference between string, string builder, and string buffer in java?
What is the difference between a synchronized method and a synchronized block?
why an outer class cannot be declared as private?
Explain the difference between string, stringbuffer and stringbuilder in java?
Define immutable object?
Where is singleton pattern used?
Why is it important to initialize a variable?
What are keywords in programming?
How will you print number in reverse (descending) order in BST.
What is consumer interface?