Question d’entretien chez General Motors (GM)

How to create a simple deadlock program using java