A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. What is the output of this program?
    class isNaN_output 
        public static void main(String args[]) 
            Double d = new Double(1 / 0.);  
            boolean x = d.isNaN();
a. 0
b. 1
c. true
d. false
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here