For Loop Java Tutorial #23

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

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

  • @alexlorenlee
    @alexlorenlee  Год назад +7

    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

  • @dannehsg978
    @dannehsg978 5 лет назад +413

    Bro you actually don’t realize how much you’ve helped me finally grasp for loops it’s been like 2 years

    • @dannehsg978
      @dannehsg978 4 года назад +13

      @@rnapol3266 well were all trying to learn at the best of our abilities discouraging someone like that does not help

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

      ​@@rnapol3266 it's been an on again off again relationship with me and programming in java but I've been committing lately

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

      @@rnapol3266 Thanks a friend told me try learning Unity c# because it is very similar to java so my dad bought me a course and that's what im doing

    • @darkangel6826
      @darkangel6826 3 года назад +2

      I'm the 100 th like for you broo

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

      @@dannehsg9784434434444 44

  • @ZainHassanVlogs
    @ZainHassanVlogs 5 лет назад +217

    I wish you were my computer science teacher but I am glad I can watch your videos here and learn java. My teacher just reads stuff off the powerpoint and I don't understand anything in class. This was really helpful. Thanks

    • @justv1984
      @justv1984 4 года назад +20

      OMG! My teacher does the same thing. No class examples and it's so hard to learn when you can't see it right away. I think my teacher is afraid that if a code doesn't work he doesn't have the confidence to correct it.

    • @fullkornspotatis
      @fullkornspotatis 3 года назад +2

      We just got a book in my school to read by ourselves. Didn't even have a class where the teacher explained what java is xD

    • @DivinityinLove
      @DivinityinLove 2 года назад +2

      This must be universal!

    • @nickgavrilis2079
      @nickgavrilis2079 Год назад +3

      why is it that youtube tutorials are some much more efficient and valuable than professors? same

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

      These days, while need a professor to teach. All computer science is on youtube by young tutors that teaches with porofond ability to receive the knowledge. University prof are only there to get your money. They don't care. 4 yrs of computer science that you. An learn in less than a year.

  • @yourpizzaishere4295
    @yourpizzaishere4295 3 года назад +4

    Thank you very much Mr. Alex Lee. I've been learning java for 2 years now but I didn't listen in class for 2 years straight and now I'm fuck up and after watching your videos it's really gonna change by life. Thank you very very very much . I can't even describe how to thank you.

  • @zubincannivady2589
    @zubincannivady2589 4 года назад +269

    alright, lets print out grades, lets say we did bad
    me: expects him to put 60
    *puts 83*

    • @eddykagia4212
      @eddykagia4212 3 года назад +9

      🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 This has me cackling so hard

    • @aamc689315
      @aamc689315 2 года назад +3

      I am this way if I dont get an A thats not doin so well

  • @strawberrybob7488
    @strawberrybob7488 5 лет назад +27

    Seriously THANK YOU!!! My ap computer science teacher teaches really really fast & not in the amount of detail as you. Thanks so much for being such an amazing teacher & actually explaining things so I can understand. You are the best, alex!!!

  • @potatomancer8185
    @potatomancer8185 3 года назад +17

    these types of tutorials (yours) really helps someone with a very short attention span as it's concise, thank you, I actually learned more from here in 3 days than 4 months in college lol

  • @hayden3774
    @hayden3774 4 года назад +12

    Just a tip for anyone who can't figure out why their for loops aren't working despite looking exactly how they should (cause this happened to me numerous times), a for loop MUST be in a method. The reason why his works in the video is because it is in the main() method. If you create a new class without any methods or constructors, your compiler will keep giving you a frustrating error... it wont work in just a class body. Took me hours to figure out why.

    • @BesoRati
      @BesoRati 8 месяцев назад

      Still don't get it. And mine looks exactly like his but it's only printing once

    • @jigmerigdentshewang710
      @jigmerigdentshewang710 3 месяца назад

      @@BesoRati Yeah same here

    • @EphraimKarnley
      @EphraimKarnley Месяц назад

      @@BesoRatisame did you ever figure out why it still never worked?

  • @justinemunoz7150
    @justinemunoz7150 5 лет назад +14

    Hey the music the mood and lighting is the best! your way of talking makes me clearly understand whats happening i hope you continue and not stop uploading such a nice tutorial

  • @natibongo6930
    @natibongo6930 3 года назад +4

    Dude, I freaking love your videos, I mean it with my whole heart. I got to a PWI for software engineering and my tutors have this underline prestige about themselves that makes it super hard to learn. Thank you, Alex.

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

    Just saw this YT tutorial again, it brings back memories! I graduated last year and working as a java backend developer for almost a year now :)

  • @חניקורלאנד
    @חניקורלאנד 5 лет назад +19

    hey man , i'm taking baby steps in the programming world and this was a concise and clear way to explain how to use for loops and for what purpose, really hit the nail on the head!!! keep the vids comin'!!!

  • @Cranky23
    @Cranky23 2 года назад +2

    It's been 3 months since we started learning about for loops, and I've been struggling to understand it. Who knew an 8 minute video would save me all the hassle of going through my notes again

  • @MariannFineran
    @MariannFineran День назад

    Excellent refresher video for me. I love that you say "you could be anywhere but you're here" with you. They tell the high schoolers that at church.

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

    Man, you have no idea how much you help us with these tutorials! My new teacher just asks us to read the book and write programs without explaining how. thank you so much

  • @SS-ug1qy
    @SS-ug1qy 5 лет назад +46

    you have creative teaching skills

  • @colormesunny7
    @colormesunny7 Год назад +2

    The way you explain things works so well for me. So glad I found your channel. About to ace this intro to pseudocode course because of you. Thank you so much!

  • @mattigor5476
    @mattigor5476 Год назад +2

    I finally understood for loops, even with a language I've just started learning, thank you so much! 🙏🙏

  • @kaiyabou
    @kaiyabou 5 лет назад +6

    Mate you taught me how to understand loops in 7 minutes than my college professor for over a week. I’m failing programming rn but trying to get that grade up and your videos really are helping me!! ( also I live in NC TO! I go to Meredith lol).

    • @hk254lyt8
      @hk254lyt8 5 месяцев назад

      How is your journey after 4years?

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

    So glad I found this channel every concept i don't understand from my lectures i just look up here and instantly get it.

  • @aryanmondkar286
    @aryanmondkar286 5 лет назад +7

    Thanks for saving us Students in APCS!! You really do an amazing job teaching these concepts.. I am having a hard time learning from my teacher because she doesnt teach well at all but these videos really help a lot

  • @adityabiswas7912
    @adityabiswas7912 3 года назад +25

    I'm 12 but your so great at teaching that a 7 year old could understand.

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

      Im 11

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

      @@icyisaiah2701 i'm actually 11 years and a half

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

      im 14, hes to good at teaching java and i understand it all!

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

      @@adityabiswas7912 what, 11 yr olds know how to code 0_0

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

      @@calacatchy kind of

  • @akizaizayoi4763
    @akizaizayoi4763 5 лет назад +2

    You explained these better than my prof.
    Seriously though, my prof is also very intimidating and he expects us to know every basic stuffs. So he wouldn't explain others such as the length. I've been wondering what's the purpose of length until I've watched this video of yours.
    Thanks for the upload, man. I hope you could also make tutorials on ternary operators and the for each.

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

    1:48 Me - a person who absolutely detests coding and programming, but has to succeed at exams - would definitely copy/paste all the code that many times to reach the goal because that's how stubborn I am, wanting to disprove teachers haha.
    But I know that, in the long run, that won't be the easiest way to do it. So thanks for the video! It was useful.

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

    I literally am in my second semester in college and just started learning java,.... I missed my first two days cause the professor would not look at her emails,.. so when I had lab I was so lost, ... you do not understand how much you helped catch up!! Appreciate it!! I'm still not done watching these though FOR SURE HAHAH

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

      Same! Every other "tutorial" I've watched on here approaches coding as if they were talking to peers...Alex is a grade saver

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

    Im learning programming since 2 years now and im about the age of 14, thanks you helped me really much

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

    It's the first time I saw your video.Honestly, I hate coding but for first time after watching your video I like to code now.You are explaining it in a simple way and easier way to understand.Keep posting more videos.Thanks for this useful video!

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

    Hi I'm from Philippines and I'm a student of BSIT in Leyte Normal University. And your videos help me to improve my skills in programming, because you explain it in a simple words. Ty 😇

  • @spidermonkey2903
    @spidermonkey2903 4 года назад +3

    i'm learning more from you than my ics professor. much appreciated :)

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

    How do you not have more subscribers! Just started learning java for the 10th time but your tutorials have made it so much easier for me to actually commit and learn. Thank you so much!

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

    honestly this might be my favorite tutorial/explanation. Thanks G

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

    dude I’ve been watching a few of your videos now and I have to say I really enjoy them + they’re super helpful and you explain just as if I was asking the question on the spot.

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

    I am really happy that there is a youtube channel like yours. Thanks a lot. You teach in the best way!! How i wish you were my computer applications teacher. Merciii

  • @GiovannaAndrade_
    @GiovannaAndrade_ 11 дней назад

    Thank you so much! I was pretty confused about the For Loops, this video helps me to connect the dots in my mind!

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

    You are a legend. You are just a LEGEND, you don't know how much you've helped me understand all of this in such a simple way!

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

    I really thought I was about to fail my programming class but you have helped me so freaking much!!! Thank you!!!

  • @JA-nh1cn
    @JA-nh1cn 4 месяца назад

    this is literally the best channel to learn Java

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

    Your videos have stopped me from throwing out my laptop more than once. Me and my laptop thank you :)

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

    i have been binge watching all of your videos and i have learned soo much, compared to what my teachers teach me. Thank youu

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

    Thank you for making these videos. It's always fun learning from someone who has a passion for what they're doing.

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

    You should become a professor. You make it really easy to understand and break it down well, unlike my professor with a masters

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

    Holy shit man, I GET IT....now. I needed your channel like 6 months ago.... happy as fuq I'm here now. Thanks!

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

    Thank you so much. You explained the thing my professor used 8hour to explain to me(and I didn’t get it) in 7 minutes! ❤❤

  • @laksh--
    @laksh-- 4 года назад

    thank you for your help I have watched many videos for understanding for loop and i finally understand by watching your video.

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

    i just saw the array video and it was so fun , i was actually happy , and excited about programming

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

    As beginner I'd say it wayyy harder at first but keep focusing you gonna succeed, thats why I'm here i found trouble with for loop (i did another method), but this worked so thank you

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

    You are an amazing teacher. Just started to learn Java, and you make things easy.

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

      Which app is used visual ?😢

  • @thusharmanoj8858
    @thusharmanoj8858 2 года назад +1

    this helped me more in arrays than for

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

    your channel is a godsend seriously, many thanks

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

    im a new student in java. this helped so much. Gotta admit i am a little scared and nerous all in one.but this did help.

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

    I found my new computer applications teacher ......thanks 😊😀this helps alot with my studies 🤧🥺✨❤️

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

    Sincerely I wish you were my teacher
    Just this first video I ever saw of you and I've subscribed immediately
    Thanks alot

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

    Thank you. I'm so glad these videos exist.

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

    the music is making me not sleepy watching you code, and thats great

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

    mannnnnnn you're the best i was hating for loop to much now i love it

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

    You are much better than my teacher!! Thank you!

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

    Put this on the beginner's turtorial playlist , I didn't find it there and was so confused lol.

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

    ALEX LEE!!! BRO! You are amazing person, amazing soul, amazing explanation, amazing energy! me and my buddy are watching your videos all the time! Thanks again for everything you do!

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

    Simple but AMAZING! Thanks for sharing your years of Experience to make it so easy. Blessings 🙏🏼

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

    the best video on for loops on youtube

  • @MarkJones-bc5vx
    @MarkJones-bc5vx 4 года назад

    Great examples. Your tutorial was very easy to follow and the lesson was very clear.

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

    thank you

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

    i am impressed with the way you teach:) it makes me understand easy.

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

    bro you helped me alot with this, i appreciate your work, thank you man.

  • @Allen-fq5xn
    @Allen-fq5xn 4 года назад +1

    keep it up bro! its not easy to keep in mind, but im trying. thanks for helping to understand more how to code. your my idol!

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

    I really love the way you teach

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

    Man , you are the definition of the word legend
    Thank you so much 😊
    And keep up the good work

  • @ytshortchannel224
    @ytshortchannel224 7 месяцев назад

    I love this channel so much. Keep up greta wirk!

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

    I love your videos, they have taught me so much. Good job.

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

    Did you really just copied the same line 100 times :D ... thank you so much man. Simple and basic.

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

    you are good at teaching ,greetings from Mexico

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

    Keep up the good work. I really like your videos.

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

    Since you've helped me here's a bit for your future viewers via a Google search; On average, becoming a confident Java programmer takes about 1-2 years, considering you spend 2-3 hours per day practicing coding. Familiarising yourself with the language to the point where you can edit someone else's code or write basic apps can take as little as four months.

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

    bro this video is 3 yrs ago and still watching it lol haha thankyou bro

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

    I really don't know how to thank you for your great videos!

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

    Thanks bro i understand now how to use for loop.. this video is really helpful😁

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

    Thanks for making Java so easy to understand

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

      this is what I made using for loops :
      import java.math.BigDecimal;
      import java.math.RoundingMode;
      import java.util.Scanner;
      public class Counter {
      public static void main(String[] args) {
      Scanner scan = new Scanner(System.in);
      int i;
      double c;

      System.out.println("welcome to counter");
      System.out.println("Enter your total");
      i = scan.nextInt();
      System.out.println("Enter your increment");
      c = scan.nextDouble();
      if(c > 0){
      for (double a = 0; a

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

    Thank you so much You explains really clear and easy to understand.

  • @SomebodySomebody-zt3kp
    @SomebodySomebody-zt3kp Год назад

    Thankyou soo much!! You helped alot. This was the best video!!

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

    Cool video, bro! This is the first video of yours I've ever watched. I really liked it. You made me laugh at the end of your video.

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

    If I could repeat anything as much as I wanted I would I'd go back to the happiest day in my life.

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

    I would repeat laps on the Nürburgring as much as I wanted. :D Thanks for the good Video!

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

      evotec dude I want to learn to drive race cars so bad, I’m thinking of buying a Veloster N

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

      @@alexlorenlee if you really want to learn then begin at the bottom. You wouldn't start with a big programm if you just start coding? If you want I could tell you a little about it. Write me a personal message in Discord (Evodesignz) :)

  • @ethanseow6936
    @ethanseow6936 4 года назад +22

    QOTD answer:
    my money

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

    This really helps me a lot than the teacher giving me module😂😂Thanks A Lot!!👍👍

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

    Two time your video save my time thankyou from India 🥰

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

    Hi bro , really you are teaching well 👏👏👏👏👏. Everyone should understand very fastly.

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

    I am really happy, you a great teacher, many thanks

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

    awww, youtube recommends this vid again, I will never forget how this guy save my 1st and 2nd year college AHAHA

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

    he does it again, what a legend

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

    Thank you Alex this video has helped me a lot.

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

    Great video, thanks Alex! Makes a lot more sense now!

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

    Great clip, Alex! Thank you so much!

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

    really helpful definitely deserves a subscribe.

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

    Thank for sharing your knowledge ❤️.It help me a lot. can you make an complete video on Operators in java.

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

    thats a relic keyboard man

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

    Thankyou!! New subscriber from Philippines

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

    Thanks for sharing this important lesson...........

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

    I'll push the subscribe button for this! Your a big help

  • @poopoofart.
    @poopoofart. 10 месяцев назад

    thanks! now i can infinitely annoy my chat with this

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

    thank you Alex, so nice , keep teaching