Question: int x = 3 switch case 0 : System.out.print ( T ) ; case 1 : System.out.print ( H ) ;
int
switch
case : System.out.printT;
case : System.out.printH; break;
case : System.out.printA;
case : System.out.printN; break;
case : System.out.printX;
What is the output?
T
HN
NX
None of the other answers
N
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
