Name the value of ((1/0.0) - (1/-0.0))?
Advertisements
Question
Name the value of ((1/0.0) - (1/-0.0))?
Very Short Answer
Advertisements
Solution
In Java,
\[ \frac{1}{0.0} = +\text{Infinity} \]
\[ \frac{1}{-0.0} = -\text{Infinity} \]
Therefore,
\[ (+\text{Infinity})-(-\text{Infinity})=+\text{Infinity} \]
Positive Infinity (
+Infinity).shaalaa.com
Is there an error in this question or solution?
