Domanda di colloquio di Entain India

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

Risposte di colloquio

Anonimo

1 giu 2018

using synchronized blocks

1

Anonimo

1 giu 2018

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