4849505152535455565758
/* * The main thread release the lock */ System.out.printf("Main: Got the lock\n"); lock.unlock(); /* * Write a message in the console indicating the end of the program */ System.out.printf("Main: End of the program\n");