Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

 2 Answer(s)

  • Dear Shahbaz,

    When we say that "arraylist is not synchronized" this means we cannot use the arraylist in Multithreading environment because the arraylist is not synchronized and it could be modified by any thread in multithreaded environment and the concurrent read or dirty read situation is created. you can make the arraylist synchronized using the synchronizeList() method. If arraylist is synchronized that could not be modified at the same time by other thread while one thread cannot complete their work with that.

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: