Video není dostupné.
Omlouváme se.

If Else Statement In Java Tutorial #17

Sdílet
Vložit
  • čas přidán 19. 12. 2018
  • $1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 bit.ly/3HX970h
    For beginners, here is exactly how to use an if else statement in java! ✅
    👑Start practicing now with 10 free java programs - alexlorenlee.com/
    🌅 Source Code - github.com/alexlorenlee/JavaT...
    An if statement lets you decided which code to run under a certain condition. If a grade is between 90 and 100 then the letter grade is an A. Else if is just tacked on to specify another condition, like 80 to 90 is B, and so on. An else statement specifies code that's run for anything else! This was a pretty deep example for beginners but I hope it was helpful or gave you a template to start exploring the if else statement in java on your own!
    This is a template for how to do multiple java else if statements in java:
    if() {
    } else if () {
    } else if () {
    } else {
    }
    This way of specifying how to run code with if statements can be a little tricky at first, but you'll surely get the hang of it! They aren't too bad :) If you followed along, congrats! You learned-by-doing!
    I hope you enjoyed this if else statement in java tutorial! I like to have a nice mix of tutorials and actual projects for you all :)
    Do you want to learn how to code from scratch, in Java? Check out my Java Tutorial For Beginners: • Coding For Beginners I...
    How are you using java if else statements? -
    Full Java Tutorial For Beginners Playlist: • Full Java Course by Al...
    Free Tips: bit.ly/3U6HXcb
    Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.
    ~
    Alex Lee

Komentáře • 401

  • @alexlorenlee
    @alexlorenlee  Před 9 měsíci +3

    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

  • @DapperSapper515
    @DapperSapper515 Před 10 měsíci +10

    I have to say that I have scoured the internet for hours, and hours, and hours.
    As a completely inept beginner who's an extremely slow learner (slower than most), I have not been able to grasp these concepts and coding in general from anybody. I have read books, scoured articles, and have watched other CZcamsrs who people keep recommending to me, and not one of them was as beginner friendly as you were. This video literally broke down what seemed to be a super over complicated concept to a 1st grade level, and I love it!
    I watched the video multiple times, and can now finally say that I have officially grasped the concept of if/else statements within Java. Thank you so much! I will definitely be subscribing, liking, and sharing! I will also be watching the rest of your tutorials, as I have now watched two-three and really thoroughly love your teaching method! Thank you, man! I seriously CANNOT thank you enough!

  • @bryanrhodunda4362
    @bryanrhodunda4362 Před 5 lety +248

    System.out.println("your the man");
    great videos

    • @alexlorenlee
      @alexlorenlee  Před 5 lety +36

      System.out.println(" Thank you! : ) ");

    • @aadhibalaji9606
      @aadhibalaji9606 Před 4 lety +30

      System.out.println(" *you're")

    • @piAustin
      @piAustin Před 4 lety +24

      @@aadhibalaji9606 you forgot the semicolon sir

    • @iambee5876
      @iambee5876 Před 3 lety +6

      @@aadhibalaji9606 exception main.java

    • @scam-
      @scam- Před 3 lety +1

      lol

  • @gregoryyang8988
    @gregoryyang8988 Před 5 lety +53

    Your videos are the closest thing I have to a Java tutorial I can understand.

  • @miss_53
    @miss_53 Před 5 lety +185

    Your videos actually have a lot of quality, you deserve more followers!!

  • @LifeJunkieRaj
    @LifeJunkieRaj Před 2 lety +31

    I don't know if you still check these but I'd love that podcast on basic programming terminology, terms, concepts etc.
    Either way, I've been using this course to help me prepair for an interview, and you've really made everything that my bootcamp professors tried to teach me so much easier to understand. You're a natural born teacher brother. Thank you for all the hard work making these videos.

  • @sergiupapana121
    @sergiupapana121 Před rokem +9

    It is quite incredible how simple and clearly you explain the basics in Java.
    Glad I found your tutorials !!!!

  • @jezekielbaronong5604
    @jezekielbaronong5604 Před 2 lety +4

    almost 3years of this vid and your presentation skills are still admirable and easy for us to learn your lessons. thanks and happy holidays, alex!

  • @eyecatchingreviews6521
    @eyecatchingreviews6521 Před 4 lety +21

    New sub on board. I am completely lost in my computer science class with java. You are making it real simple and easier to understand. Which you lived in the area so I could use you as a tutor.

  • @TheRealCorcra
    @TheRealCorcra Před 3 lety +16

    love how I am paying these teachers yet this guy has thought me more in less time for free

  • @jessicaduong6144
    @jessicaduong6144 Před 3 lety +10

    I'm genuinely struggling in my first CS course and your videos are really helping :') Thank you!!

  • @collinsummers3560
    @collinsummers3560 Před 2 lety +1

    The amount of help you have given me over the past week has been incredible. I cant thank you enough my friend. All the best

  • @jonathanphillips5915
    @jonathanphillips5915 Před 4 lety +2

    You are the best dude! Would definitely appreciate a podcast that clears up programming terms, thanks so much for everything once again Alex! Hope you're having a great day! :)

  • @tenx3
    @tenx3 Před 3 lety +27

    These tutorials are getting me through my programming classes lol. Keep up the good work~

  • @kebroonabebayehu2559
    @kebroonabebayehu2559 Před 2 lety +1

    Obviously you're saving alot of lives with your videos! Because I am one of them now too. Thank you Alex!! Your're so good at what you do and please keep doing it!!

  • @blaireross4316
    @blaireross4316 Před 3 lety

    You are such an incredible teacher!!!! I am so thankful you came up first on my recommended!!

  • @mercyenemuo4167
    @mercyenemuo4167 Před rokem +1

    Thank you Alex! I really appreciate. How you covered this topic was easy for me to understand. Yes, I would like if you could have those podcast. It would help in my preparation for my programming class next semester. Thank you!!!

  • @KLead963
    @KLead963 Před 3 lety +10

    Man you helped me a lot to understand this! I've been studying programming for 8 months, I felt frustrated so many times and I wanted to quit although I really like this field, but because of you I wanna continue! BIG THANKS.

  • @user-ri2mq4ch7w
    @user-ri2mq4ch7w Před rokem +2

    amazing content!!!! They are just sooo helpful and no bs! Absolutely love your succinct and direct style! Keep it up Alex!!

  • @lukewu331
    @lukewu331 Před 4 lety +1

    Thank you for making things so much clearer for me, it helped me a lot!

  • @kyler9437
    @kyler9437 Před 4 lety +7

    I would love a podcast dedicated to programming terms!!! I think that would be super helpful for the whole community!!!

  • @VTObi4z
    @VTObi4z Před 2 lety +1

    U deserve a billion Subs! I don’t know why so many people love u tubers u sit on a video game controller. Ur actually doing something that’s valuable to the viewers like me!

  • @vubui2318
    @vubui2318 Před 2 lety +2

    Your videos are very helpful. I hope you can make more video about Java that can help a lot of students like me to survive during the difficult computer science class.

  • @chi_.no0
    @chi_.no0 Před 8 měsíci

    this actually helped me a lot in my computer programming class, thank you

  • @kusanag1820
    @kusanag1820 Před 2 lety

    Thank You Very Much Sir, i've been very late on our lessons because i can't keep up, because i am havig difficulties learning programming by myself, but thanks to your videos i finally understand how if-else statement works with user input.

  • @daryanaji9109
    @daryanaji9109 Před 4 lety +1

    It's about five months that I was struggling with java language but with your tutorials, It's very easy now and I can understand everything, you have to be a lecturer and you deserve more subscriber

  • @rtikulouno
    @rtikulouno Před 3 lety

    I really like watching your video its easy to understand and not boring. thanks for this!

  • @cagla3360
    @cagla3360 Před 2 lety

    you are out there saving lives rn :) amazing video as always

  • @yan_yan03
    @yan_yan03 Před 5 lety +1

    Thank you Mr Alex Lee for this video about If statement its really helpful to me to understand the if statements because I dont understand our prof while discussing about Java eclipse and about logical or if statements,if else,if elseif else and nested if statement...
    Hoping that you have more videos according in java...
    Thank you for sharing us..
    You deserve Mr Lee to have more subcribers.. God Bless Mr Lee

  • @javiercardoso4601
    @javiercardoso4601 Před 3 lety

    I am making a project using if and else statements. You saved my life. Thank you so much 💓 💗 💛

  • @FreedomChannel86
    @FreedomChannel86 Před 2 lety

    I immensely thankful for you videos!
    Thanks a lot!
    Actually I could not wrap my head around it but now I can.

  • @yehonatanlax35
    @yehonatanlax35 Před 2 lety

    You explain the language very well! thank you!

  • @Cincity85
    @Cincity85 Před rokem

    Hey Alex, I'm new to coding and from watching your videos I am learning alot! Thank you for the videos. Please do make a video for beginners.

  • @davidvanheesch6157
    @davidvanheesch6157 Před 3 lety

    Love the vids!! Helping me so much. Keep it going man.

  • @fateme5705
    @fateme5705 Před 2 lety +4

    I wrote my first line of programming by your helpful and magnificent videos 🙏😊🙏

  • @siandanielloreto7789
    @siandanielloreto7789 Před 2 lety

    thank you so much sir for making this tutorial it helps me a lot for assignments

  • @urmibhanot6961
    @urmibhanot6961 Před 2 lety

    You are very good and easy to understand to learn. Thank you so much.

  • @aarigenalna
    @aarigenalna Před 4 lety

    I tried this with the float variables just to see if I could make it work with numbers from 0 to 10, was a bit worried about the F that is supposed to go at the end of the number. But it worked! Thank you so much for these videos, they make me want to keep learning instead of scaring me away (in fact, I'd rather experiment with Java than watch netflix lol). Thank you!

  • @yt_bharat
    @yt_bharat Před 4 lety

    Best example. And such positive attitude in teaching. Thanks👌👌

  • @koljalavrenchuk307
    @koljalavrenchuk307 Před 4 lety +1

    This guy is awesome! Best teacher by far

  • @daddyshady10
    @daddyshady10 Před rokem +1

    Very helpful I need more of your java programs

  • @laurenjamesh.miguel1887

    thank you bro, I got it now, it's easier to understand if, if else and else

  • @CaptinQuestion
    @CaptinQuestion Před 4 lety +3

    dude thank you, surprised you're not more popular keep it up :)

  • @eleni3865
    @eleni3865 Před 2 lety

    wow your did well, you make it look so easy.....

  • @sapdlo
    @sapdlo Před 4 lety +2

    Nice video man
    Now it's a lot easy to code in java

  • @anandaditya6834
    @anandaditya6834 Před 5 lety +11

    You just gained a new subscriber. Carry on the good work mate.

  • @readi-it3906
    @readi-it3906 Před rokem

    you know i was programmer 3years ago back in college. and this is the time i get back to learn agin the programming and this video helps me to understand this simple code in 7mins. damn it!

  • @abdulsuleiman3488
    @abdulsuleiman3488 Před 3 lety +1

    I love your teaching skill. It is pretty simple to understand. Many thanks Alex

  • @nick1636
    @nick1636 Před 5 lety +38

    I like these videos even if i already know java :)

    • @alexlorenlee
      @alexlorenlee  Před 5 lety +1

      Ikeetjeop Dev thanks that’s good to hear haha

  • @darkfire3194
    @darkfire3194 Před 2 lety

    Thanks to you dude I passed my assignment!!!! Thank you!

  • @xdgkvdhh
    @xdgkvdhh Před 2 lety

    thank you! this helped me a lot!

  • @Planzo_
    @Planzo_ Před rokem +1

    Bro u literally saved me it is 10:00 right now (night) I have a my final computer exam of grade 7 tomorrow and u helped my cover almost all of my doubts ❤❤

  • @doomee1311
    @doomee1311 Před 4 lety

    Thank you that was very helpful to me 💐🤗 .

  • @user-cu5xf9ee5j
    @user-cu5xf9ee5j Před 8 měsíci

    the podcast would be a great idea. you give great content brother!!! really helps

  • @toaiamituanai7036
    @toaiamituanai7036 Před 2 lety

    Hi Alex I follow you on your tutorial every day.

  • @Otto93389
    @Otto93389 Před 3 lety

    Alex you are really cool!!!!
    it is very easy understanding.
    Keep in touch!

  • @stefan8193
    @stefan8193 Před 3 lety

    Video is very good. Simple words, simple explanation so I understand it immediately. Thanks.

  • @JM-lr7br
    @JM-lr7br Před 2 lety

    hey man I know I'm late to this but seriously this is exactly what I needed thank you man.

  • @kr1tical41
    @kr1tical41 Před 4 lety

    Bro, your videos have saved my grades! :D thanks for the help!

  • @remi0e
    @remi0e Před rokem

    i love your camera/video setup! would you mind giving a tutorial?

  • @doctorwho0w314
    @doctorwho0w314 Před 3 měsíci

    I dont know if youve done it or not yet but PLEASE start that podcast where you just say what the words mean. It has been my biggest struggle with learning this stuff is all the jargon that gets tossed around with little to no explanation, currently im going through your whole playlist and its the best one ive found. Thank you so much for putting this out there!

  • @zameer4965
    @zameer4965 Před 2 lety

    Thank you Alex!

  • @MatthewAppiah-mc4vv
    @MatthewAppiah-mc4vv Před 3 měsíci

    Thanks for all your help bro for real.

  • @AKumarmx004
    @AKumarmx004 Před 3 lety

    u r a great progarammer man......u have got the solutions of all of my problems......i watch ur every videos to solve my problems.....thku thku

  • @LauraJ123
    @LauraJ123 Před rokem

    Thank you very much, very clear instructions and easy to folow. My life is saved🙏🙏🙏🙏

  • @fernandorivera452
    @fernandorivera452 Před 4 lety +2

    Now I think I know what I'm doing. You are just absolutely an amazing Teacher! Where are your awesome podcast for programming terms?

  • @yuliache7631
    @yuliache7631 Před 5 lety

    Thank you for your job. This is really cool!)

  • @Queen-vi8kc
    @Queen-vi8kc Před 3 lety

    Thank you, it's a big help.

  • @r4reviews334
    @r4reviews334 Před 3 lety

    Thank you so much brother!

  • @invictus3280
    @invictus3280 Před 3 lety +1

    It was very helpful thank you

  • @rafaelalmeida478
    @rafaelalmeida478 Před rokem

    Thank you, Alex!

  • @mindaugasspukas3053
    @mindaugasspukas3053 Před rokem

    Hey Alex, great videos, and so simple explained. Tnx.!!!!!!

  • @melyssamacgillivray
    @melyssamacgillivray Před 3 lety

    So easy to follow! Keep going :)

  • @youthought878
    @youthought878 Před 2 lety

    Switching Majors from political science to comp sci. Never done it before but I get the hang of it quick, really fun working with this stuff honestly. Great video, very well spoken.

  • @dannymoonjely3613
    @dannymoonjely3613 Před 3 lety

    Alex first of all great videos I personally loved them,each and every one of them, I would like to ask something though, I would like to know how to do bubble sort and linear search programming, so I would love to see that programming.

  • @alexperalta5631
    @alexperalta5631 Před rokem

    Thank you for this video, i understand you better. This is need in my course Computer Science, im still beginner.

  • @vukslijepcevic7228
    @vukslijepcevic7228 Před 4 lety +4

    MAN THANK YOU YOU'RE THE BEST EVEN THO IT WAS ONLY THE ";" I PUT IN WRONG PLACE YOU HELPED ME A LOT I WISH YOU ALL TH BEST THANK YOU SO MUCH I LOVE YOU

  • @Nik-ql9hd
    @Nik-ql9hd Před 2 lety

    Really helpfull and good explanation ty

  • @PEIN19218
    @PEIN19218 Před 3 lety

    Really good explanation bro. U the man 😁

  • @mohanreddy1057
    @mohanreddy1057 Před 2 lety

    East understanding even non techincal students . thank you for doing vedios on java.keep it up alex lee

  • @massara-al5099
    @massara-al5099 Před 2 lety

    Thank you for this incredible content.

  • @Aashvi_
    @Aashvi_ Před rokem +1

    Heyy!! M from India ... Thanks for this short n precise clips ... It helped me lot in my exams.... Thank youuu

  • @Rimuru_5
    @Rimuru_5 Před 3 lety

    THANK YOU SO MUCH!! You just earned a new sub!

  • @HappyGiftGames
    @HappyGiftGames Před 4 lety

    Impressive...
    You are a good teacher...
    I like the way you teach....
    Thanks for helping us...

  • @ohhPuff
    @ohhPuff Před 3 lety +1

    You killed it sir . You're better than all my profs - the people I pay to get taught by......

  • @bu3li311
    @bu3li311 Před 9 měsíci

    that was helpful thank you

  • @antnote3102
    @antnote3102 Před rokem

    Thanks Alex 🎉

  • @mindfulfilms1453
    @mindfulfilms1453 Před 5 lety +2

    Great video! Were you able to get the podcast started? I could really some help with Java terminology. Thanks!

  • @sizwematchesdlamini8310
    @sizwematchesdlamini8310 Před 9 měsíci

    Helpful thank you

  • @rivaille5361
    @rivaille5361 Před 3 lety +1

    thanks chad you just earned a sub cause i'm learning here more than in school

  • @333KAW
    @333KAW Před 2 lety

    Yes, a terms podcast would be GREAT!

  • @cassandraward7621
    @cassandraward7621 Před 4 lety +11

    Did you end up doing the podcast? I would love to listen!

  • @gamesick4294
    @gamesick4294 Před 4 lety

    Great Programming Video and great explanation

  • @mytab561
    @mytab561 Před rokem

    You really help me

  • @jeraldpatangan9021
    @jeraldpatangan9021 Před rokem

    Thank you for this video

  • @Geumbi951
    @Geumbi951 Před 4 lety +12

    I can understand your teachings more than my programming professor lol hahaha

  • @JuanSanchez-hj8kt
    @JuanSanchez-hj8kt Před 3 lety +1

    Wow thank you your videos are so helpful and the quality of your recordings are amazing god bless you bro

  • @guitarytubetv2881
    @guitarytubetv2881 Před 3 lety

    Thank you bro!🔥

  • @mypiano7746
    @mypiano7746 Před rokem

    Great class

  • @shreyashpathak2645
    @shreyashpathak2645 Před 4 lety

    Nice Explanation