T Thu Ha New member Sep 19, 2021 #1 What will be the output of the following Java program? Code: class Output { public static void main(String args[]) { double x = 3.1; double y = 4.5; double z = Math.max( x, y ); System.out.print(z); } } A. true B. flase C. 3.1 D. 4.5
What will be the output of the following Java program? Code: class Output { public static void main(String args[]) { double x = 3.1; double y = 4.5; double z = Math.max( x, y ); System.out.print(z); } } A. true B. flase C. 3.1 D. 4.5
Đ Đàm Ngọc Lan New member Sep 19, 2021 #2 Answer: d Explanation: None. Output: Code: $ javac Output.java $ java Output Upvote 0 Downvote