| What will be the output of the following Java program slot 1 Question no 6?
Choose the correct option from below list
(1)NaN
(2)Infinity
(3)0.0
(4)all of the mentioned
Answer:-(4)all of the mentioned
Note:-For floating point literals, we have constant value to represent (10/0.0) infinity either positive or negative and also have NaN. | | |