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

Jul 17, 2019

Implement Stack using queue