Pergunta de entrevista da empresa Entain India

how to perform deadlock between two threads without using join , wait, nofity methods?

Respostas da entrevista

Sigiloso

1 de jun. de 2018

using synchronized blocks

1

Sigiloso

1 de jun. de 2018

when u use synchronized block u have to use wait and nofify methods therefore u cant acc to this ques