The break Keyword It is not necessary to break the last case in a switch block . The block breaks (ends) there anyway. Note: If you omit the break statement, the next case will be executed even if the evaluation does not match the case.
The break Keyword It is not necessary to break the last case in a switch block . The block breaks (ends) there anyway. Note: If you omit the break statement, the next case will be executed even if the evaluation does not match the case.