We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6974d13 commit 3f48cafCopy full SHA for 3f48caf
1 file changed
src/main/java/api/java/lang/ShutdownHookDemo.java
@@ -2,7 +2,7 @@
2
3
public class ShutdownHookDemo {
4
5
- // a class that extends thread that is to be called when program is exiting
+ // a class that extends thread is to be called when the program does exit
6
static class ShutDownHook extends Thread {
7
public void run() {
8
System.out.println("This thread part of the class ShutDownHook is executed after the main thread exited...");
0 commit comments