Java Switch Statements
Instead of writing many if..else statements, you can use the switch statement.
The switch statement selects one of many code blocks to be executed:
Learn more about the switch statement in this video.
Enjoy!
#java #javaprogramming #javaprogrammingtutorial