Millennium Interview Question

Code a java multi threading deadlock scenario