The switch statement in Java: Why the language was designed in such a way that the execution falls through each steps, instead of exiting the switch statement, even after a predicate match was found and no explicit break was given after the matched case?
You would have to go back 25 years and ask James Gosling that. Some of the earlier design decisions seem to me to be in order to emulate C/C++. in those days that strategy was very successful; people who had written C/C++ could migrate to Java® easily.
Cob is sand, clay and sometimes straw. This tiny ad is made of cob:
a bit of art, as a gift, the permaculture playing cards