Java to infinity

Given below is a JAVA statement

1
System.out.println(100.0 / 0.0);

then which of the following options is correct for the given JAVA statement

It results in RunTime Error The output is Infinity The output is NaN It results in Compilation Error The output is 0.0

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

0 solutions

No explanations have been posted yet. Check back later!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...