1.

What is the output of this program? class Output { public static void main(String args[]) { double x = 3.14; int y = (int) Math.ceil(x); System.out.print(y); } }

A. 0
B. 3
C. 3.0
D. 4
Answer» E.


Discussion

No Comment Found