{{theTime}}

Search This Blog

Total Pageviews

What is the output of this code

System.out.println(Math.Sqrt(-4.0))

Ans: NaN.

No comments:

Java Shutdown Hook

Runtime.getRuntime().addShutdownHook(new Thread(() -> {             System.out.println("Shutdown started");              //  Cl...