Orange interview question

Can you unlock another thread from one thread using another object notify method without taking lock on that object ? I said you will get illegalMonitorException. He said you can do.

Interview Answer

Anonymous

17 Jul 2019

Implement Stack using queue