A switch statement will let control fall through. A switch expression will no, and will throw an exception (and there will also be a compiler warning that it's not exhaustive before you even run the code)
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: