R
Q. What is the output of Java code snippet below?
Code:
short p = 1;
short k = p + 2;
System.out.println(k);
short k = p + 2;
System.out.println(k);
- Correct Answer - Option(D)
- Views: 150
- Filed under category JAVA
Discusssion
Login to discuss.