Class Cast Exception
Posted
by iaagty
on Stack Overflow
See other posts from Stack Overflow
or by iaagty
Published on 2010-03-19T07:29:13Z
Indexed on
2010/03/19
7:31 UTC
Read the original article
Hit count: 309
why do i get this exception?
Map myHash = null myHash = (HashMap)Collections.synchronizedMap(new HashMap());
If i try to use this hashmap, i get java.lang.ClassCastException
© Stack Overflow or respective owner