Help the world stop coronavirus! Stay home!

Prev Next

Java / Data types

What is the output?

Most of us may expect ArithmeticException, however, in this case, there will be no exception instead it prints Infinity.

1.0 is a double literal and double datatype supports infinity.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...


Comments & Discussions