Sail E0 Webinar
Question
What will be the output after compiling and running following code?1. public class Test{2. public static void main(String... args){3. int x =5;4. x *= 3 + 7;5. System.out.println(x);6. }7. }
Options:
A .  10
B .  None of these
C .  22
D .  50
E .  Compilation fails with an error at line 4
Answer: Option D

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers