Double wrapper class has two methods isInfinite and isNaN . isInfinite method checks whether a value is infinite and isNaN checks whether a value is NaN(Not a Number).
isInfiniteandisNanDemo CODE class isInfiniteandisNanDemo OUTPUT Infinity: true DESCRIPTION At THINGS TO TRY
|