Sharmila Punde wrote:Hi All,
The output is - false
Why this time output is false? Why second excerpt do not unbox the returned Integer?
Regards
vijayakrishna Mikkilineni wrote:
Does Auto boxing apply to constructor args also or is it to only method args?
Samrat Som wrote:The correct answer is abc123. As the synchronized method are class level lock and the numbers.start () thread would only get access to the synchronized method say(). only after letters.start() thread has completed its execution. This is the final answer , as I suppose.