What is the result of the following code execution?

System.out.println(Math.sqrt(-2.0));
System.out.println(1.0/0.0);

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes