Runtime.getRuntime().addShutdownHook(new Thread() { public void run() { System.out.println("Executing the code while closing down."); } });A detailed explanation of the above method is provided in the Javadocs for the Runtime class.
Why NoSQL is in fashion?
-
Couple of years back NoSQL was relatively unheard term. It has become a
new buzzword in town, catching people's imagination. Almost all big daddies
of Int...
13 years ago