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
How do singleton patterns work?
How do you add an arraylist to an array in java?
Explain the difference between extends thread vs implements runnable in java?
Can a lock be acquired on a class in java programming?
Can we change the value of static variable?
What are white spaces in java?
Can we override constructor in java?
Is there any case when finally will not be executed?
What are the methods to rectify ambiguities in the interfaces in JAVA?
What is dynamic binding(late binding)?
What is this keyword used for?
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
Explain about varargs in java?
What are loops in java?
What is += mean in java?