1.

What is the output of this program? class Output { static void main(String args[]) { int x , y = 1; x = 10; if(x != 10 && x / 0 == 0) System.out.println(y); else System.out.println(++y); } }

A. 1
B. 2
C. Runtime Error
D. Compilation Error
Answer» E.


Discussion

No Comment Found