What will be output of this simple java program ?
Click button below to answer the quiz
© 2015 – 2016, https:. All rights reserved. On republishing this post, you must provide link to original post
0 of 1 questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
0 of 1 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Since break statement is absent, control will flow through remaining cases after match is found.
Since break statement is absent, control will flow through remaining cases after match is found.
© 2015 – 2016, https:. All rights reserved. On republishing this post, you must provide link to original post
#
But it should be not compile-able because case2 would trigger an errror #cmiiw
#
this would be even more interesting with month = 2, as there is label case2 instead of an actual case 🙂