MCQ Buddy
Search here...
MCQ Feed
Add Question
Shop
Forum
Mock Tests
Login
Home
/ Report Question
Q. What will be the output of the following Java code? class Output { public static void main(String args[]) { Double i = new Double(257.5); boolean x = i.isNaN(); System.out.print(x); } }
A. true
B. false
C. 0
D. 1
Correct Answer: B
Name
Email
Message