What will be the output of the following Java program? class Output{ public static void main(String arg[]){ double x = 3.1,y = 4.5,z; z = Math.max(x,y); System.out.print(z); } }
class Output{ public static void main(String arg[]){ double x = 3.1,y = 4.5,z; z = Math.max(x,y); System.out.print(z); } }
true
false
3.1
4.5