Switch statement is used to perform action as per the selection made by the user. It is an alternative of if statement.
In this video we have covered:
1. WHY Switch statement
2. Real life example of Switch statement
3. Syntax of Switch
4. How does the switch statement work?
5. Break Statement
Examples considered -
Print day of the week given day number using Switch case
Making Calculator using the switch statements (input using Command line arguments)
Support this channel and I will definitely complete this tutorial.
Link to if-else statement Video: https://youtu.be/0Z4Zvkv-nJk
Connect with me -
GitHub: https://github.com/Programming-with-Nisha/java-programming
LinkedIn: https://www.linkedin.com/in/nisha-sajnani
Instagram: https://www.instagram.com/programming_with_nisha/
YouTube: https://youtube.com/ProgrammingwithNisha
#javatutorialforbeginners #JavaProgramming #switchjava