This is how you can use switch case statements in your java programs! ✅Hopefully, what I’ve taught you will help you with these tricky switch statements.

source

16 COMMENTS

  1. Hey Firstly Congrats on 13.5k subs! Great effort man.
    Secondly I created an input based program with this where Pomeranian or Great Dane would have to be inputed by the user but in Great Dane even though I typed it correctly, it still gave default output and I think it is because of the space between The word 'great' and 'dane' so is there any way to fix this?

  2. OMG this Saved my life, thank you Sifu Alex Lee! I hope your channel grows prosperous, you're honestly way better at teaching than my professor! I understood everything in your 9min video vs a 3 hour lecture at night.

LEAVE A REPLY

Please enter your comment!
Please enter your name here