Examveda

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

A. ConcurrentModificationException

B. NullPointerException

C. ClassNotFoundException

D. RuntimeException

Answer: Option A


This Question Belongs to Java Program >> Collections Framework In Java

Join The Discussion

Related Questions on Collections Framework in java