If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h
@jaelynnsze3801
4 жыл бұрын
I learn so much more here than in my actual class that now class is just a place to receive homework and I learn to actually solve the questions here . Thanks Alex !!
@littletath
4 жыл бұрын
Same!! I feel like my teachers just tell me to write the code and don't explain why we actually use it but this video actually explained this so much so thank you Alex! I'll be watching your videos more often now.
@catrieltorrez2450
4 жыл бұрын
hahahahahhaha SAAAMEE free days are good days cus i actually learn more on my own
@mirandaperry5245
3 жыл бұрын
Just started coding bootcamp and my teacher is doing the same thing!
@anandkulkarni2433
2 жыл бұрын
Great!
@Donaveli14
2 жыл бұрын
@@catrieltorrez2450 you pop
@lonestar2222010
3 жыл бұрын
Alex, I am currently in a beginners programming class. I have learned more from your videos than my textbook and teacher combined. Thank you for your teachings and for distributing your knowledge, you are a true god send.
@FunnyDubz1
4 жыл бұрын
My new favorite KZitemr! You always explain everything in such a easy way that even the hardest things become easy after watching your tutorials! You deserve MORE subscribers and likes.
@himnishdhiman1370
3 жыл бұрын
Yes you are saying the truth
@1cps2
5 жыл бұрын
I am so proud that ur not giving up man. I watch every vid... Thx man u deserve more subs and violence
@alexlorenlee
5 жыл бұрын
1cps2 thank you so much! I try my best :)
@qwerasdfhjkio
5 жыл бұрын
Violence??
@qwerasdfhjkio
5 жыл бұрын
You mean audience or something?
@lesterdilworth1174
3 жыл бұрын
You meant 'audience' I suppose? Bro don't wish Alex bad, he's a cool guy XD
@saveUyghurs
4 жыл бұрын
Thanks, came for a refresh, you forget sometimes. Good teachers like you are rare
@Daojuan
5 жыл бұрын
Thanks for the upload bro. Man, you explained it better than my teacher lol.
@alexlorenlee
5 жыл бұрын
DavyD thanks man, I hope you have a great day
@oItzDegree
3 жыл бұрын
I don't know what I would do without you man. Keep up the good work!!!
@smoothoperator8414
4 жыл бұрын
Alex I just want to thank you for making these videos. You have the best content about Java for me.
@delwyntomboer1789
4 жыл бұрын
I'm a first year doing java, thanks a million for all that you do
@sandysandy8579
4 жыл бұрын
I am now learning the java from beginning only from your tutorial bro...thanks man...u doing great
@rileyc5218
3 жыл бұрын
Broooo in less than 10 minutes Alex explained switch statements better than my professor who took like a whole lecture to explain it.
@ncrose99
2 жыл бұрын
The best person ive found at helping understand java and making it simple. Thank you man
@terrencemadzamba1956
3 жыл бұрын
this has helped me understand the switch control statements a little more better, thank you for highlighting this.
@drewza0216
3 жыл бұрын
I was learning Java on W3Schools and the switch stuff confused me. This video cleared up everything that confused me thanks!
This video was great as I never even knew about switches before I watched it. One thing I would have added was how to make multiple cases output the same thing without having to copy and paste it multiple times. For example, instead of having code like this: switch(objectSize) { case "hammer": System.out.println("Small Object"); break; case "axe": System.out.println("Small Object"); break; case "computer": System.out.println("Medium Object"); break; case "backpack": System.out.println("Medium Object"); break; case "desk": System.out.println("Large Object"); break; case "shelf": System.out.println("Large Object"); break; } You could simplify it like this: switch(objectSize) { case "hammer": case "axe": System.out.println("Small Object"); break; case "computer": case "backpack": System.out.println("Medium Object"); break; case "desk": case "shelf": System.out.println("Large Object"); break; }
@shannonbaker3245
2 жыл бұрын
Thank you Alex. I’m trying to learn Software Development in my spare time. I’m a complete beginner. I’ve nearly given up a few times. Your videos are immensity helpful and one of the greatest resources I’ve found. THANK YOU ☺️
@jcinaty89
5 жыл бұрын
You explain things very well, i just subscribed I hope your channel grows!
@alexlorenlee
5 жыл бұрын
Juan M. Thanks Juan!!
@tonk1381
3 жыл бұрын
man the keyboard sounds so satisfying. Love it :)
@Nafesah13
3 жыл бұрын
Thank you for making life easier by explaining Java. I have been watching your videos for one week and still going! My new year into 2021 is to learn Java with you. I have given up few times trying to learn java, but with your videos, I am self-motivated to sit and watch through your videos without being overwhelmed. So happy I came across your channel. Your truly a Savior! Thank You a million times, and Subscribed. I recommend your Java videos to anyone who is interested. Much love from NYC!
@emilisvaskys8336
8 ай бұрын
how you doing now? :D still on track?
@ossama7967
3 жыл бұрын
I really like that you show a problem then u offer a solution . Thanks
@hasancete43
4 жыл бұрын
Although I am new in this field, as far as I see you are the best. Great job! Please, never give up...
@arjunsriram3878
Жыл бұрын
i love you bro i have a test tomorrow and its 11:15 pm and im still confused about switch case its completely clear now thanks so much
@darkdrift0r124
2 жыл бұрын
im watching all your videos and it's explaining literally all the lessons im going through
@suyahatesntr
Жыл бұрын
I realized that you can also put if-else statements in these cases and default. That's what I did when I can't put less than or equal and greater than or equal statement on cases. I put it inside of an if statement which is inside of a case statement. And it actually work.
@darkscept3r293
3 жыл бұрын
This was so helpful. I'm currently in an intro to Java case and this helped me so much!!!!!!
@tomlugard9810
3 жыл бұрын
Getting me through Uni, Thanks for all the help!!
@DiaborMagics
2 ай бұрын
The reason I came here is because I saw something like: case 1: case 2: break; case 3: case 4: break; and I was wondering exactly how it works. Seems to me like this could be used to replace endless OR operators in your if/else statements because it will do something for 1 or 2 and something else for 3 or 4, right?
@thomasconteh9618
2 жыл бұрын
Now I have the confidence to open my assignment on switch. Thanks Bro
@l0raxeo265
4 жыл бұрын
thanks dude this helped me a lot! i had a program where you make ur own math test and then you are able to take that test, but you could also do it in different languages. it was 2500 LINES OF CODE. but I cut it down with the switch.
@EtcAi.x
3 жыл бұрын
Thx for awesome tutorial helped a ton in my exams
@MtxLk
4 жыл бұрын
Thanks man, your tutorials are short and clear.
@delfinaghayur5646
2 ай бұрын
This made so much sense to me , easy to understand, thank you so much !
@JustAnotherPerson55
4 жыл бұрын
you deserve like a million subs.Thank you.I really appreciate this as one of my lessons
@Mohammad_Owais_Nazi
5 жыл бұрын
Thank you sir alex You helped me in such a small mistake
@aleshiamichelle2527
3 жыл бұрын
Thank you very much Alex Lee! i was confused with a tutorial. I found your video, you have helped out alot, thanks again!
@ferdoushasnat4773
4 жыл бұрын
Thanks, man you saved my midterm.
@omarnoor4249
2 жыл бұрын
Thank you so much Alex you are doing great works for the world community. I had trouble understanding JAVA but since I found your videos I'm back studying it again. Thanks a lot again.
@abbos_yulchiev
4 жыл бұрын
Thank you so much, your channel is helping me in every confusing moment!
@jonathanphillips5915
4 жыл бұрын
I love you dude!! Please don't stop teaching! ❤🔥🔥
@RealAlexMoreton
2 жыл бұрын
Honestly love the way you explain what your doing in these tutorials. Really good!
@brookescott526
3 жыл бұрын
I actually understand how to do this. I have test next week and I think I'll get an A because of you!! Thank you so much!
@NLKcarlo
5 жыл бұрын
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.
@athardaif
4 жыл бұрын
I'm in love with your videos. Thank you very much Alex for explaining everything in the most simple way
@Ohotnikova_
2 жыл бұрын
Thank you for the videos! They help a lot in my bootcamp 🙌
@okuefunatochukwu3928
4 жыл бұрын
It was really helpful to me sir. Thanks. Greetings from Biafra Land.
@RichieRussell23
3 жыл бұрын
Hey Alex, nice video btw! I have a question. What keyboard brand are you using? It looks so cool.
@vusalaclifton9056
2 жыл бұрын
Thank you Alex. i really like your tutoring style very simple and clear.
@usaamamuxudiin5726
3 жыл бұрын
I learn so much more then in my class thank you so much teaacher
@knightshadow7823
Жыл бұрын
thanks alex lee for such a sweet and wonderful explantion. Now i am so clear with java programs :)
@mrterror4170
3 жыл бұрын
This just made me understand switch looping more easier than my classes. Thanks a lot and keep the good work up so students like us can understand stuff easier :)
@Allen-fq5xn
4 жыл бұрын
thanks, bro! keep it up! I've always watching your videos.
@will_warrior351
3 жыл бұрын
Thanks I really needed this!
@Mace573
4 жыл бұрын
First off u r a great teacher. Second off I have a project that uses switch case to remove the vowels in a scanner but I keep getting an error because I compare an integer to a string. So I can't get it to work. I can probably ask my teacher but I was wondering if u could make something like this as a topic for a video. Thanks in advance.
@lubaaish3578
4 жыл бұрын
you are a very gooooood teacher. you deserve more subscribers
@jasmine588
4 жыл бұрын
Thanks for this video, very clearly explained.
@raymondcameron
5 жыл бұрын
Please keep this up, I subscribed!
@anything9891
4 жыл бұрын
The greatest computer teacher of the world
@amjadahmadzai7947
4 жыл бұрын
great definition and nice concept sir love you and proud on you
@malhibhai5888
3 жыл бұрын
your a genius. This helped me so much!!!
@deliaciobanu7349
4 жыл бұрын
very good videos!! i understand better here than in my classes
@__-cd9ug
2 жыл бұрын
Thanks, can you set multiple values for the same output, say in your last example you want to print out "small dog" if the value matches "pomeranian", "pug", "beagle" would it look something like switch(dog) { case "pomeranian, pug, beagle": System.out.println("small dog"); break; ##etc## } or would the syntax be: case "pomeranian", "pug", "beagle"
@josytutu1273
5 жыл бұрын
Really helpful for my understanding. Thanks
@jhonrycaballero6740
4 жыл бұрын
wow this tutorials is easy to understand as always very very helpful !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@whimsicalvibes
5 жыл бұрын
The keyboard idea is fantastic...is it purchased as a service, can it bought on amazon? or did you do it yourself?
@michaelbigam3253
4 жыл бұрын
Your videos are really helpful, thank you :)
@danhabina1343
4 жыл бұрын
thanks so much! to clarify, you wouldn't need a "break" keyword following a default statement at all?
@mastershonobi110
4 жыл бұрын
No, b/c it serves like the “else-statement.” The final condition that doesn’t apply! 🙏🏾🙏🏾
@angeemmanuelkouassi9861
3 жыл бұрын
Thank you a lot for what u're doing. u are our hero! u really help us as student
@ka2165
4 жыл бұрын
Great Explanation thank you for the video!
@arif-go7qb
Жыл бұрын
thx man it realy helped more ppl should know about this chanel
@jeslynmaegaviola5506
2 жыл бұрын
Another helpful video for me, thank you so much for making this video❤❤❤
@deek0
3 жыл бұрын
I have a question Is it possible to display in case 2 when inputted in case 1 switch case. EXAMPLE: if in case 1 I ask to write the value of a=2,b=3; then in case 2 it should come a+b=5;
@MDSHAMIMHOSEN-s7f
6 күн бұрын
I learn so much here ,Thanks
@odedberry6445
3 жыл бұрын
Great and simple tutorial
@turntburkey
2 жыл бұрын
This was very helpful for me, thank you!!
@mastershonobi110
4 жыл бұрын
Great Vid; I would prefer “if-statements” and “if” needed convert to “switch- statements” to cleanup or concise the code. IMHO! If that makes sense.
@dylanchan7349
4 жыл бұрын
Do switch case statements only work for == operators and equals() methods? Like is there a wya to implement the , and other comparative operators for integers?
@sundayjacobballa5410
2 жыл бұрын
Thanks 🙏 for the wonderful teaching, I will be really proud to be your student
@senpaimimu
3 жыл бұрын
Can we call two days at the same time? Like I input 1, 2 and it will input 2 kinds of days like sunday and monday.
@JoyDavidson
Жыл бұрын
Youve really switched my opinion on the case of switch case, in switchcase I would like to thank you; break;
@deathgaming4657
4 жыл бұрын
Bruh thanks you helped me on my last day of the assignment I received from the school🤣🤣🤣
@cv8425
2 жыл бұрын
You’re a great human being thank you so much for your help!
@bhaskarprasad1971
4 жыл бұрын
You got a new subscriber,dude.
@arjunn4167
4 жыл бұрын
Hi Alex, Could you please explain about regular expression(Regex) concept in Java. Thanks.
@atticdemon4260
3 жыл бұрын
Wenn typing System.out.println(....), you can use the shortcut Syso + press ctrl+space + enter
@atticdemon4260
3 жыл бұрын
i know, im late to the party tho
@graceful522
4 жыл бұрын
Thanks for the video, it was helpful :)
@richardss402
4 жыл бұрын
Thank you for the help. BTW what is the name of the model of the keyboard youre using?
@gusfalk
4 жыл бұрын
How would you make it possible to also add the integer "1" as a command for System.out.println("Loads file"); in this switch case below? System.out.print("Name the command: "); String command = input.nextLine(); switch (command) { case "load file": System.out.println("Loads file"); break;
@gustigello
4 жыл бұрын
u ar the best teacher on earth
@sheenadumandan1483
2 жыл бұрын
Thank you so much sir! I've learned a lot!
@imbot7901
4 жыл бұрын
Thanku bro you help us very much please make more videos I really appreciate you from my heart
@neelsheth6173
5 жыл бұрын
So its basically- Switch(variable) and Case(Value of variable or another variable) right?
@sophiek1750
5 жыл бұрын
yeah
@skrekkulv
3 жыл бұрын
Hey alex can you use a scanner to get an intager from the user for the switch case?
@kieranwhelan6338
3 жыл бұрын
alex: "Colons arent used too much in programming" python devs: "Excuse me, what did u say"
@raissac
3 жыл бұрын
What exactly are the "break" between the cases for?
@neelsheth6173
5 жыл бұрын
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?
@alexlorenlee
5 жыл бұрын
That's a great question! You're absolutely right, scan.next() gets until the first space. So to fix it, use scan.nextLine() which gets until the first newline/"enter"
@WOLF91
4 жыл бұрын
I appreciate you, sir. Would this serve me well if I was creating a project that asks the user whether or not he wants to continue, and repeat that sequence?
@priscillaleang7127
4 жыл бұрын
you should use a while loop then
@sheldoncooper7385
3 жыл бұрын
thank you sir for making youtube videos 💜 God Bless you
@wardarezig972
4 жыл бұрын
what if our cases contain conditions i,e; x> 10 or 10
@microcolop
4 жыл бұрын
I think you have to use multiple IF constructs in that case
Пікірлер: 247