Thursday, January 6, 2011

1.What is the output of the following Java program?
double x = double (3/5);
System.out.println(x);

The output is
0