S
Q. What will be the output after compiling and running following code?
Code:
public class Test{
public static void main(String... args){
int x =5;
x *= 3 + 7;
System.out.println(x);
}
}
public static void main(String... args){
int x =5;
x *= 3 + 7;
System.out.println(x);
}
}
- Correct Answer - Option(B)
- Views: 126
- Filed under category JAVA
Discusssion
Login to discuss.