WHAT IS SHUTDOWN HOOK?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
Java  Thread 
 561  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    What is shutdown hook?

    The shutdown hook is basically a thread i.e. invoked implicitly before JVM shuts down. So we can use it perform clean up resource.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!