Home »
MCQs »
Java MCQs
Which method in Java is used to check for NaN values?
76. Which method in Java is used to check for NaN values?
- isNan()
- checkNan()
- isNotNan()
- All of these
Answer: A) isNan()
Explanation:
The isNaN() method is used to check for NaN values.