Hi guys,
I have the following code:
When I run this i get the following output
On lines 4 and 5 of the output the jvm is telling me that both the main
thread and Thread 8 have the lock over the hash hashtable object?
How can two different threads have the lock on a same syncronized object??? I'm lost here.... Is it because thread 8 (and 9) were started by the Main thread (are child threads of main thread)?
Regards