Prev Next

Java / Control Statements

What happens when we forget break in switch case?

The switch statement will continue the execution of all case labels until if finds a break statement, even though those labels doesn’t match the expression value.

More Related questions...

Show more question and Answers...


Comments & Discussions