What will be the output of the following programs? (2, 2)
a.
class Net
{ void set( )
{ int choice = 2;
switch(choice)
{ case 2:
case 3: System.out.println( “holiday”);
case 5:
System.out.println( “working day”);
break;
}
}
Answers
Answered by
0
hate it I know you know everybody knows
Similar questions
Sociology,
1 month ago
Political Science,
1 month ago
English,
1 month ago
Environmental Sciences,
3 months ago
Math,
3 months ago
Biology,
10 months ago
Biology,
10 months ago
Math,
10 months ago