https://cdn.educba.com/academy/wp-content/uploads/2020/05/Deadlock-in-Java-output-1.png