WHAT IS SHUTDOWN HOOK?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
Java  Thread 
 674  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.

      Modified On Mar-28-2018 02:16:34 AM

Answer

NEWSLETTER

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