What will be the output of the following program?
public class Sample2 {
public static void main(String args[]) {
Double flo = Math.sqrt(25);
System.out.println(flo);
boolean b1 = isNaN(flo);
System.out.println(b1);
boolean b = Sample2.isNaN(flo);
System.out.print(b);
}
static public boolean isNaN(double k) {
return (k != k);
}
}