Boolean Java Tutorial #15

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ •

  • @alexlorenlee
    @alexlorenlee  Рік тому +2

    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

  • @sb5338
    @sb5338 5 років тому +169

    Sidenote- the word boolean is actually named after the mathematician George Boole, one of the random facts I for some reason remember lol. Thanks for the videos!

  • @yursk12
    @yursk12 5 років тому +229

    Dont stop makin these vids ur helping me understand so much lol

    • @alexlorenlee
      @alexlorenlee  5 років тому +23

      Dylan Smith awesome thanks! I’m glad I’m helpful!

    • @leif1075
      @leif1075 4 роки тому

      @@alexlorenlee question is it necessary to say all door count ewuals false at top and then true after the passed all doors ar the bottom..isn't that kind ofna contradiction that might confuse Java? Can't you just keep the true boolean at the bottom? Thanks very much.

    • @INFINITY-yk3hw
      @INFINITY-yk3hw 4 роки тому

      @@leif1075 do u know the answer yet? I might help if u don't.

    • @OzozGaming
      @OzozGaming 4 роки тому

      How would you do a java code for balls in a bag and each time you minus 2 and then it predicts the last ball colour either black or white???

    • @OzozGaming
      @OzozGaming 4 роки тому

      @@alexlorenleeHi Alex,
      How would you do a java code for balls in a bag and each time you minus 2 and then it predicts the last ball colour either black or white???

  • @DeadAlcoholZombie
    @DeadAlcoholZombie 5 років тому +13

    I can't get over that keyboard. So nostalgic.

  • @stephenadrian3389
    @stephenadrian3389 4 роки тому +22

    The best Java tutorial I found on youtube!! Its super entertaining to watch and learn, and I also love your screen layouts of the code, shortcuts, etc. Thankyou for making these videos! I hope you keep making these type of videos in the future.

  • @laylykalfaian8189
    @laylykalfaian8189 3 роки тому +44

    You are such an amazing teacher omg, I don't know if you get paid for this but you definitely deserve to because you are some talent and you are such a great teacher thank you so much!! You make these so much more entertaining to watch also! ❤️

  • @davidtorres2375
    @davidtorres2375 5 років тому +59

    I've been watching a few of your videos wondering why they feel so fresh and easy to understand. The screen setup you got going is pretty similar to how gamers make vids on youtube. The music is a good touch! Loving your videos man. Like I said keep it going champ!

  • @av2678
    @av2678 4 роки тому +4

    Why watching your videos and learning feels so refreshing? :)

  • @Flaschenhals02
    @Flaschenhals02 2 роки тому +2

    Hey Alex,
    I'm an IB student, I never log in into UA-cam or subscribe or anything. But your videos help me out a lot.
    Thanks, please continue your great work.
    You're one of the few people here on YT, who seriously start from zero for us. So nice, no BS direct to the point! Thanks. +1 subscriber

  • @pipelinedesign434
    @pipelinedesign434 2 роки тому +2

    Alex, I never log into youtube, but in this case, I had to tell you what a great series of videos these are. I'm going through a college Java class that makes zero sense. The instructor is horrible. You my friend have a gift for teaching, You make everything very easy to understand. I will be signing up for your full courses after going through the videos here. Awesome job, please, continue to teach, you have a gift. Thanks for making these for us, and thanks for helping me to get through my college class.

  • @JulesMauch
    @JulesMauch Рік тому +1

    Amazing tutorials. I have to learn Java and some follow-up language for work and this helps me a lot.
    I found out the word isnt made up ( 1:35 ) but is the last name of the mathematician that invented that type of math in the 19 century

  • @laurazimka8426
    @laurazimka8426 3 роки тому +5

    This Tutorial was super helpful and I can finally see some logic behind the basic commands and how they interact. Thank you Alex! Big time!

  • @sebastiansilva6132
    @sebastiansilva6132 4 роки тому +1

    Dude, this is a HUGE grain of sand to community knowledge, and i mean the whole serie. Thank you.

  • @Remindw
    @Remindw 2 роки тому

    Man thanks so much, i was confused before but when i watched your explanation that when boolean is false program does not read the "dead code" , was so enlightening! Again thanks so much.

  • @maevelerinasumbrado2837
    @maevelerinasumbrado2837 3 роки тому +1

    Your contents are more helpful than our class. I can understand easily. Thankyou for creating this channel

  • @valentinocaceres6954
    @valentinocaceres6954 2 роки тому

    oh man i can't thank you enough, i have an exam in a few days and you helped me to understand the boolean

  • @liloruf2838
    @liloruf2838 4 роки тому +4

    Oh my god! Thank you SO MUCH!! you really safe me! You actually make this fun, such a gift.

  • @maryp1131
    @maryp1131 Рік тому

    I don`t know how I would have studied without your videos. Thank you!

  • @alstechtoday
    @alstechtoday Рік тому

    Just watched 3 minutes of the video and got what I needed! Thanks man!

  • @ninjacat1653
    @ninjacat1653 5 років тому +3

    keep it up bro, your doing great at tutorials in java.

  • @Furiac.
    @Furiac. 4 роки тому

    this is the 2nd java video ive seen of yours and both have been incredibly helpful

  • @kurittsuchan950
    @kurittsuchan950 5 років тому +1

    I wish I had discovered you sooner for my ComProg 1...
    Thank you for making these videos! ❤️

  • @micogacutan8910
    @micogacutan8910 4 роки тому +1

    new subscriber here. I find your videos very easy to understand 😭💖 Pls continue making videos like this.

  • @og_gaming2323
    @og_gaming2323 4 роки тому

    Thank you bro I had more knowledge in this video more than 99999999999999999999999 hours of online class

  • @mohittyagi6694
    @mohittyagi6694 5 років тому

    your tutorials making it a lot easy to learn java now. Thanks man

  • @adrmad8849
    @adrmad8849 2 роки тому

    Thanks, you helped me to visualize idea of condition changing boolean value, its what I needed for exam.
    Keep recording m8!🔥

  • @Jonq360
    @Jonq360 4 роки тому +1

    I don't know anything about coding, but now I know boolean.

  • @comcfi
    @comcfi 4 роки тому

    Congratualions you won the program!

  • @HarshitShankarlalWadhwa
    @HarshitShankarlalWadhwa 3 роки тому +1

    Congratualions on new sub.

  • @forrestg5182
    @forrestg5182 3 роки тому +1

    Thank you brotha!! Helped me understand this so simply and clearly ! I appreciate it

  • @latedeveloper7836
    @latedeveloper7836 4 роки тому

    7:10 IDKW I didn't see it before but that explanation helped me massively. Thanks again.

  • @akashpatel5132
    @akashpatel5132 4 роки тому

    Your explanation helped me to understand Boolean Alex good work bro

  • @Augstava
    @Augstava 3 роки тому

    Thank you for being so awesome Alex! You're helping me big time in understanding / practicing java!

  • @phantomgaming1154
    @phantomgaming1154 2 роки тому

    Bro you make me feel like java is a bit more easy
    Thank you man

  • @jendekachanzuw786
    @jendekachanzuw786 Рік тому

    You are the best ! Just discovered you yesterday, thanks 🙏 sooo much

  • @enkeegch
    @enkeegch 3 роки тому +1

    Loving your videos ❤❤ can you teach us about substrings in java please

  • @adamstratton683
    @adamstratton683 4 роки тому

    Way better then my prof sheesh ur a life saver

  • @zsener55
    @zsener55 Рік тому +1

    Thank you Alex👏☺️

  • @israelfilipe8812
    @israelfilipe8812 5 років тому +2

    Thank you so much, I just start to studying Java now and you really helped me, appreciate.

    • @bewatter3014
      @bewatter3014 4 роки тому

      hey Filipe, i have a question and i hope u can help me with that...
      why does he open up a new if statement for passedAllDoors? 11:30
      couldnt we just System.our.println("... congrats...) before because door count is = 3 and passedAllDoors did change to true
      or is it just a step to make sure and have a better understanding?

    • @practicalcucumber1395
      @practicalcucumber1395 3 роки тому +1

      @@bewatter3014 you're right but its just a step to have a better understanding

    • @bewatter3014
      @bewatter3014 3 роки тому

      @@practicalcucumber1395 thank you =)

  • @alisaholainen6334
    @alisaholainen6334 4 роки тому +2

    Very interesting, indeed. I'll do kind of same but with beers. Thank you!

  • @kr1tical41
    @kr1tical41 4 роки тому +1

    Appreciate it man! You’re so much better than my lecturer 😂

  • @ImanTorcamani
    @ImanTorcamani Рік тому

    God you’re the best teacher ever

  • @likithshetty4716
    @likithshetty4716 4 роки тому

    Bro really thanks for helping like its really easy understand things while you are explaining !!!
    If you start making videos on other programming languages as well then it would be great

  • @r4reviews334
    @r4reviews334 4 роки тому

    Thank you so much brother I just worked on the program and learned a lot from you!

  • @td1796
    @td1796 3 роки тому

    You make coding look so easy!!

  • @sjmorais1850
    @sjmorais1850 3 роки тому +2

    seriously great explanation....where were u in the past 2 years :(

    • @julianreyesespinal3621
      @julianreyesespinal3621 3 роки тому

      Hello I see your the most recent comment and I am wondering if you are experienced enough to help with this problem I have

  • @musicforeveryone2024
    @musicforeveryone2024 3 роки тому

    your java videos are AWESOME

  • @Soabac
    @Soabac 3 роки тому

    0:05 "in this video i'm gonna show you how to use bullying in java!"

  • @yusufrifqi5006
    @yusufrifqi5006 3 роки тому +1

    public class Latihan2 {
    public static void main(String[] args) {
    boolean status = true;
    System.out.println("loe boleh ikut ujian?" + status);
    //kode program berikut error,sebutkan alasan nya!
    boolean b1 = 0;
    boolean b2 = "true";
    }

    }
    the code is error,where the error,and why its error?

  • @theartlegend3772
    @theartlegend3772 4 роки тому +5

    My Mom: you failed your English test.
    Me: unpossible!!

  • @divyanshrajput5746
    @divyanshrajput5746 4 роки тому

    Hey there!!
    I enjoyed the video very much and helped me in my computer classes. I am also a bad speller 😅😅. But programing with Boolean is fun. Thankyou for the video.

  • @InsaneDeath13
    @InsaneDeath13 5 років тому +1

    Fantastic video my man.

  • @BlueDemkon
    @BlueDemkon 3 роки тому

    You are a good teacher I wish I could take an online class from u

  • @奧莉媽媽
    @奧莉媽媽 3 роки тому +1

    Very easy to understand for beginners, I can't believe one day I'm binging watch Java Tutorial. Thank U Alex, you really did a great job!

  • @MaximumJoy
    @MaximumJoy 5 років тому +4

    Did you add the live shortcuts in post production? I'm just wondering if maybe you automated it, so that you have a keylogger running and it can identify when you for instance type two keys at the same time. Just trying to think like a programmer!

    • @alexlorenlee
      @alexlorenlee  5 років тому +5

      Maximum Joy that’s a great idea :) they were added manually by me in post production, which took a little longer to edit in

  • @venurabulathsinhala5078
    @venurabulathsinhala5078 3 роки тому

    man your videos help me soo much

  • @Nikita-vq2mo
    @Nikita-vq2mo 5 років тому

    Simple and great video, thank you!

  • @yeliza2350
    @yeliza2350 3 роки тому +1

    5 januaray 2022 thank alex

  • @arv_is
    @arv_is 3 роки тому +1

    So whats the advantage of boolean against using int? A = 1; or A = 2; and if , else statements.

  • @av2678
    @av2678 4 роки тому +1

    You deserve more subs than int limit

  • @polar5903
    @polar5903 5 років тому +5

    Congrats on getting 1k subs.
    I am 2 of them ;)

    • @alexlorenlee
      @alexlorenlee  5 років тому

      Swift F0X thank you!

    • @polar5903
      @polar5903 5 років тому

      though you deserve much more...

    • @polar5903
      @polar5903 5 років тому

      Did you spel congrajulashions rongly on purpose? (in 11:08)
      Like how I did just now. ;)

    • @alexlorenlee
      @alexlorenlee  5 років тому

      Swift F0X no that was an accident

    • @polar5903
      @polar5903 5 років тому

      Incase you do,
      Please don't take it as offense I meant it as a joke. ;)

  • @ahmedagag9396
    @ahmedagag9396 4 роки тому

    You're awesome man I really appreciate you

  • @NeedToDev
    @NeedToDev 3 роки тому

    bro, i feel like im learning more here than im actually learning in school lol

  • @islamibrahim3844
    @islamibrahim3844 4 роки тому +1

    that was helpful thanks alex

  • @Josip9888
    @Josip9888 5 років тому

    Brilliant Alex! Thank you!

  • @aranzainethmendozagalan9331
    @aranzainethmendozagalan9331 4 роки тому

    THANK YOU SO MUCH! you are better than my professor lol I keep watching your videos after his class
    ps. I'm a bad speller too

  • @hirankanchana2403
    @hirankanchana2403 4 роки тому

    What a tutorial ❤️Thank you

  • @Suryakant-i3c
    @Suryakant-i3c 6 місяців тому

    AlexLee
    Superb Explanation Brother ❤👍🏻
    😞Just do Start again Making videos

  • @DerockDerk
    @DerockDerk 4 роки тому

    Thanks for the great video! 😁

  • @austinlattimore8000
    @austinlattimore8000 4 роки тому

    Great videos really easy to follow along I actually got into java back when RSbot was popular for runescape.

  • @alisaholainen6334
    @alisaholainen6334 4 роки тому

    This is a very good lesson-)

  • @AZRAOCAK-k6u
    @AZRAOCAK-k6u Місяць тому

    congratulations😄

  • @HER-MAJESTY111
    @HER-MAJESTY111 9 місяців тому

    Hi, your video has been super helpful i however want to know how to use the boolean to print out "Sorry you missed a door ".

  • @aydenrl
    @aydenrl 4 роки тому +1

    What epic song is in the background?

  • @redMaple_QC
    @redMaple_QC 4 роки тому

    You don't need the last if. You can just System.out after the last true statement.

  • @kanagarajs1191
    @kanagarajs1191 3 роки тому

    I am start learning, this is clear.. Thanks make more videos

  • @digvijaysingh325
    @digvijaysingh325 2 роки тому

    loved the video brother

  • @rohishmhrj
    @rohishmhrj 4 роки тому

    u r a great teacher

  • @Wend1rellA
    @Wend1rellA 4 роки тому

    can you make a tutorial about switch case? thankyou! btw i really like how you explain eveything about java! thankyouuu

  • @odanielbotke
    @odanielbotke 7 місяців тому

    Your dideos ar the best, thanks. What is the name of your keyboard?

  • @theindecisivegamer5036
    @theindecisivegamer5036 3 роки тому +1

    thanks man if the music was little lower video would be better

  • @Alfredornbrp
    @Alfredornbrp 2 роки тому

    thank from brazil here good job !

  • @rabinotieno6553
    @rabinotieno6553 4 роки тому

    thanks for the knowledge brother

  • @NailsByAdanja
    @NailsByAdanja 3 роки тому

    I wonder if the if code on line 30 was neccesary? Can't you just add a sout at the if statement on line 26 saying Congrats? (under passed all doors = true, so line 28)

  • @kingtyphoon
    @kingtyphoon Місяць тому

    So informative!

  • @gogbone
    @gogbone 4 роки тому

    subbed because of the congratualions

  • @samr317
    @samr317 4 місяці тому

    I thanks God for finding your Channel 😍😍😍😍😍😍

  • @שהרבכהן
    @שהרבכהן 5 років тому +13

    just subscribed! if I may make a suggestion, I recommend not having any background music. your voice is just fine, and the music is distracting/annoying. Cheers!

    • @alexlorenlee
      @alexlorenlee  5 років тому +6

      Send Shekels thanks! There’s no background music in my newer videos now

  • @menosgrando
    @menosgrando Місяць тому

    Can you operate with one boolean passedDoor = true , and in steping to second door this boolean passedDoor would somehow change to = false if you are missing something to passing door that would change boolean automatically without creating new one for false scenario?::: If you meet requirement for passing door - passedDoor = true, and if you dont meet requirement - passedDoor = false.? It is possible to dymanically change true or false in same boolean? and i dont want to use >

  • @mrm8580
    @mrm8580 Рік тому

    You are the best, thanks!

  • @Berna-un5wh
    @Berna-un5wh 4 роки тому

    Thanks for shedding light on the boolean concept Alex. In what case do you use the % and == with boolean?

    • @Berna-un5wh
      @Berna-un5wh 4 роки тому

      Sorry. I am referring to boolean in Java

  • @sonofappreciation
    @sonofappreciation 2 роки тому

    Would we get the same result as "DoorCount + 1;" if it were written as "DoorCount++;" ?

  • @vicloop827
    @vicloop827 Рік тому

    Alex, first of all. You are priceless my man. Thank you so much for these tutorials, we would be lost without you. Thanks for the great teaching. A small suggestion - Kill the music in these videos. TBH it kinda makes you lose concentration on what you are lecturing about. Other than that.....wow!

  • @dannymoonjely3613
    @dannymoonjely3613 4 роки тому

    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.

  • @yursk12
    @yursk12 5 років тому +4

    Great vid

  • @pkcuenca
    @pkcuenca 5 років тому +19

    The Spelling was Congratulations

  • @nortyone2886
    @nortyone2886 2 роки тому +1

    Couldn't you just write DoorCount++?

  • @topboykai_
    @topboykai_ 3 роки тому

    I love congratualions!

  • @cuborigami
    @cuborigami 2 роки тому

    11:37 Congratualions

  • @mohittyagi6694
    @mohittyagi6694 5 років тому

    you are like a JAVA HERO