12. What is the output of the following switch statement ? char c='a'; switch (C) { case 'a': System.out.print("1"); case 'b': System.out.print("2"); case 'c': System.out.print("3"); } System.out.println("Done");
Answers
Answered by
0
The output of answer is as below:
1
Done
1
Done
Similar questions
Political Science,
15 days ago
Political Science,
15 days ago
Computer Science,
15 days ago
Hindi,
1 month ago
Math,
1 month ago
Math,
9 months ago
English,
9 months ago
Math,
9 months ago