Vidyalelo
Java Programming · Q92

Java Collections Framework

Programming · Java Programming · question 92

Q92

If two threads access the same hashmap at the same time, what would happen?

A.
ConcurrentModificationException
Answer
B.
NullPointerException
C.
ClassNotFoundException
D.
RuntimeException

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board