Originally posted by swati gupta:
I have see lots of question in mock exam with NaN.
Is this important in real world and then in SCJP exam?
If you're ever dealing with floating point arithmetic, you can run into NaN issues. This will probably come up in the SCJP exam and, sooner or later, you'll probably have to do some floating point arithmetic in a real project, as well.
Be sure to check out the API Spec for
Double for lots of details about NaN.
Corey