A
Q. What is the output of the Java code snippet?
Code:
int a=10, b=5, c=3;
int d = a+c/2*b;
System.out.println(d);
int d = a+c/2*b;
System.out.println(d);
- Correct Answer - Option(C)
- Views: 12
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.