Java ArrayList and Multithreading

By gleferna ·
Is it possible to encounter a null reference while reading an Arraylist on one thread while another thread is simultaneously adding non null Objects to the Arraylist. Please note, I am considering a scenario, wherein only valid(non null) Objects are being added to the ArrayList.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums