Entain India interview question

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

Interview Answers

Anonymous

1 Jun 2018

using synchronized blocks

1

Anonymous

1 Jun 2018

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