Question

Locked

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.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Software Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums