If I add a shutdown hook to my Java program\'s runtime like so:
public class MyShutdownHook implements Runnable { @Override public void run(
If you pull the plug out the back of your computer then the shut-down hook won't run. Other situations include: