I was looking up the difference between the two classes and this point came up in a lot of the answers with this blog being the source:
http://javarevisited.blogspot.com/2010/10/difference-between-hashmap-and.html
However I don’t completely get it.
Can someone elaborate this? Perhaps with an example?
Thanks for looking in!
Fail-fast means when you try to modify the content when you are iterating thru it, it will fail and throw ConcurrentModificationException.
For HashTable enumeration: