Why do switch statements continue after case
- by John W.
After evaluating a case in a switch statement in Java (and I am sure other languages) the following case's are also evaluated unless a control statement like break, or return is used.
I understand this is probably an implementation detail, but what is/are the reasons for having this functionality happen?
Thanks!