1.

What will be the output after compiling and running following code?public class Test { public static void main(String... args) { int x =5; x *= 3 + 7; System.out.println(x); }}

A. 22
B. 50
C. 10
D. Compilation fails with an error at line 4
Answer» C. 10


Discussion

No Comment Found

Related MCQs