Boolean Java Tutorial #15

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

Комментарии • 248

  • @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.

  • @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! ❤️

  • @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.

  • @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 RUclips 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

  • @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.

  • @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.

  • @maevelerinasumbrado2837
    @maevelerinasumbrado2837 3 года назад +1

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

  • @liloruf2838
    @liloruf2838 4 года назад +4

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

  • @zsener55
    @zsener55 Год назад +1

    Thank you Alex👏☺️

  • @micogacutan8910
    @micogacutan8910 4 года назад +1

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

  • @alstechtoday
    @alstechtoday Год назад

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

  • @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

  • @HarshitShankarlalWadhwa
    @HarshitShankarlalWadhwa 3 года назад +1

    Congratualions on new sub.

  • @jendekachanzuw786
    @jendekachanzuw786 Год назад

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

  • @maryp1131
    @maryp1131 Год назад

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

  • @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

  • @comcfi
    @comcfi 4 года назад

    Congratualions you won the program!

  • @kurittsuchan950
    @kurittsuchan950 5 лет назад +1

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

  • @akashpatel5132
    @akashpatel5132 4 года назад

    Your explanation helped me to understand Boolean Alex good work bro

  • @enkeegch
    @enkeegch 3 года назад +1

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

  • @forrestg5182
    @forrestg5182 3 года назад +1

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

  • @adrmad8849
    @adrmad8849 2 года назад

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

  • @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

  • @Augstava
    @Augstava 3 года назад

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

  • @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.

  • @adamstratton683
    @adamstratton683 4 года назад

    Way better then my prof sheesh ur a life saver

  • @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

  • @latedeveloper7836
    @latedeveloper7836 4 года назад

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

  • @alisaholainen6334
    @alisaholainen6334 4 года назад +2

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

  • @phantomgaming1154
    @phantomgaming1154 2 года назад

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

  • @kr1tical41
    @kr1tical41 4 года назад +1

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

  • @r4reviews334
    @r4reviews334 4 года назад

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

  • @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 =)

  • @Jonq360
    @Jonq360 4 года назад +1

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

  • @musicforeveryone2024
    @musicforeveryone2024 3 года назад

    your java videos are AWESOME

  • @BlueDemkon
    @BlueDemkon 3 года назад

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

  • @venurabulathsinhala5078
    @venurabulathsinhala5078 3 года назад

    man your videos help me soo much

  • @InsaneDeath13
    @InsaneDeath13 5 лет назад +1

    Fantastic video my man.

  • @Suryakant-i3c
    @Suryakant-i3c 6 месяцев назад

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

  • @td1796
    @td1796 3 года назад

    You make coding look so easy!!

  • @yeliza2350
    @yeliza2350 3 года назад +1

    5 januaray 2022 thank alex

  • @ImanTorcamani
    @ImanTorcamani Год назад

    God you’re the best teacher ever

  • @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. ;)

  • @奧莉媽媽
    @奧莉媽媽 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!

  • @austinlattimore8000
    @austinlattimore8000 4 года назад

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

  • @kanagarajs1191
    @kanagarajs1191 3 года назад

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

  • @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

  • @Nikita-vq2mo
    @Nikita-vq2mo 5 лет назад

    Simple and great video, thank you!

  • @AZRAOCAK-k6u
    @AZRAOCAK-k6u Месяц назад

    congratulations😄

  • @DerockDerk
    @DerockDerk 4 года назад

    Thanks for the great video! 😁

  • @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

  • @islamibrahim3844
    @islamibrahim3844 4 года назад +1

    that was helpful thanks alex

  • @ahmedagag9396
    @ahmedagag9396 4 года назад

    You're awesome man I really appreciate you

  • @rabinotieno6553
    @rabinotieno6553 4 года назад

    thanks for the knowledge brother

  • @arv_is
    @arv_is 3 года назад +1

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

  • @Josip9888
    @Josip9888 5 лет назад

    Brilliant Alex! Thank you!

  • @theartlegend3772
    @theartlegend3772 4 года назад +5

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

  • @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

  • @av2678
    @av2678 4 года назад +1

    You deserve more subs than int limit

  • @digvijaysingh325
    @digvijaysingh325 2 года назад

    loved the video brother

  • @Soabac
    @Soabac 3 года назад

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

  • @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!

  • @alisaholainen6334
    @alisaholainen6334 4 года назад

    This is a very good lesson-)

  • @Alfredornbrp
    @Alfredornbrp 2 года назад

    thank from brazil here good job !

  • @samr317
    @samr317 4 месяца назад

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

  • @HER-MAJESTY111
    @HER-MAJESTY111 8 месяцев назад

    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?

  • @Wend1rellA
    @Wend1rellA 4 года назад

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

  • @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 >

  • @rohishmhrj
    @rohishmhrj 4 года назад

    u r a great teacher

  • @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.

  • @kingtyphoon
    @kingtyphoon 27 дней назад

    So informative!

  • @yursk12
    @yursk12 5 лет назад +4

    Great vid

  • @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)

  • @NeedToDev
    @NeedToDev 3 года назад

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

  • @odanielbotke
    @odanielbotke 6 месяцев назад

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

  • @mrm8580
    @mrm8580 Год назад

    You are the best, thanks!

  • @redMaple_QC
    @redMaple_QC 4 года назад

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

  • @sonofappreciation
    @sonofappreciation 2 года назад

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

  • @jesseniaalvarenga9468
    @jesseniaalvarenga9468 Год назад

    Alex: "I can't spell. I'm the worst speller"
    Then proceeds to spell congratulations as congratualions 😆
    The little things like these are what help me enjoy watching the videos

  • @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?

  • @topboykai_
    @topboykai_ 3 года назад

    I love congratualions!

  • @garbayoo
    @garbayoo 4 года назад +1

    Thank you!!

  • @gogbone
    @gogbone 4 года назад

    subbed because of the congratualions

  • @peacefull656
    @peacefull656 3 года назад

    HI Alex can you tell us zoom in & out short code

  • @KoziolMr
    @KoziolMr 5 лет назад

    great content, thanks!

  • @niceguyvibes4133
    @niceguyvibes4133 3 года назад

    appreciate your videos bro

  • @Graciousalicando
    @Graciousalicando 2 года назад

    can i use boolean for quesitonnaires?

  • @elmurodoripov258
    @elmurodoripov258 9 месяцев назад

    still didn't undrstand anything but I love watching your tutorials