Computer Science, asked by iamvansh55, 8 months ago

15. class xam
{
void main()
{
int i;
switch(i)
{
case 1:
System.out.println("Case1 ");

case 2:
System.out.println("Case2 ");
break;
case 3:
System.out.println("Case3 ");

case 4:
System.out.println("Case4 ");
break;
default:
System.out.println("Default ");
}
}
}

Write the output if i= 1 ,2,3,4,5​

Answers

Answered by muwin
0

Answer:

output is i = 15

Explanation:

mark me as brainliest

Similar questions