1. Convert the following in to if statement
Result=(a+b>100)? a++ : b++;
2. What is fall through?
3. Write the syntax of switch statement
4. Write any one difference between switch and if.
5. Predict the output
int num=5;
if(num>5)
++num;
else
--num;
num=num*2;
System.out.println(num);
Answers
Answered by
0
Answer:
good morning hiiiiiiiiiiiiiiii
Similar questions