For Loop Java Tutorial #23

preview_player
Показать описание

This for loop java tutorial will show you how to use for loops in java!

You can repeat code as many times as you want by using a for loop. For loops in java are just a block of code, that you can adjust to repeat what you want. In the first for loop java example we repeated something very easy, "I love dogs!". Just replace that line with what you want and BOOM, you're done!

The name "for loop" can be a little tricky to get used to, but don't worry too much about it right now! They aren't too bad :) If you followed along, congrats! You learned-by-doing!

I hope you enjoyed this for loop java tutorial! I like to have a nice mix of tutorials and actual projects for you all :)

If you could repeat anything for as much as you wanted, what would you repeat?

Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.

~

Alex Lee
Рекомендации по теме
Комментарии
Автор

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

dannehsg
Автор

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

ZainHassanVlogs
Автор

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

zubincannivady
Автор

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.

yourpizzaishere
Автор

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

strawberrybob
Автор

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

potatomancer
Автор

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.

hayden
Автор

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

justinemunoz
Автор

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.

natibongo
Автор

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'!!!

חניקורלאנד
Автор

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 :)

rei
Автор

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.

Nexils
Автор

this is literally the best channel to learn Java

JA-nhcn
Автор

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 <3

mariacunha
Автор

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

aryanmondkar
Автор

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

mattigor
Автор

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!

colormesunny
Автор

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.

akizaizayoi
Автор

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).

kaiyabou
Автор

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

spidermonkey