πŸ“Š JAVA
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
πŸ’¬ Discuss
βœ… Correct Answer: (B) false

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
109
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Pooja
Publisher
πŸ“ˆ
81%
Success Rate