Question: Given: int month = 1 1 ; switch ( month ) { case 1 : case 3 : case 5 : case 7 : case
Given:
int month ;
switchmonth
case : case : case : case :
case : case : case :
String message days. ;
System.out.printmessage;
case : case : case : case :
String message days. ;
System.out.printmessage;
case :
String message days. ;
System.out.printmessage;
What is the output of this code?
days. days.
Does not print because of compilation error
days. days.
days.
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
