its 2022 and i searched java loop explained its amazing that its still not outdated and java can still be used the same way... and thank you for explanation, it really makes me understand now
you spend just 11 mins to cover the entire 50 mins lecture and actually make me understand what's going on while my 50mins lecture rises me more question marks in my brain
Wow I'm wanting to make a text adventure game for some friends and I've only been doing java for a few weeks in class and we haven't gone over this stuff yet and know I'll know all of it for when we do. Great tutorial!
im at uni studying computer and network tech, im studying java for it and i have to say.. at first i hated it! but now ive started to learn more about it and be able to solve simple tasks, its such a great programming language!
Beautiful explanation , man we are really glad that someone is teaching us for free , and all we can give you is a subscribe , like , comment and a thank you
I got a D on my first Java exam because I struggle with these loops (and I had a fever). I went from 98% to 84%. I'm feeling kind of gutted and wondering if I should quit. Watching everyone leave the room before me sucked. I should have watched these videos first.
thank you for this Sir, I do understand you more than my teacher because he only reads our module but to you you explained it well and I love the quality of your voice. Very Helpful
I love the simple examples, my textbook has very complex examples for the loops, so it made it hard to understand how the syntax applied to the examples.
found this good analogy on reddit: A bully is trying to beat you up. You execute a for loop. for(energy = 5; energy--; you have energy left) { try to punch him } That means you could punch him 5 times. Now you execute a while loop. while(bully is standing) note that this is a boolean! { punch bully; } [bully is standing] could be true for 1, 10, 100 whatever punches. Its probably modified somewhere outside the loop. A slightly more useful example : Say you made a game. The game loop has to either be running, or paused. Using a for loop dosent make sense. for(i=0; i < 10000; i++) { draw game stuff;} Voila, your game abruptly ends after a few seconds. while(running == true) { draw game stuff;} Now it goes on till running is set to false. edit : you can also guarantee whether a block is ran. do while(boolean) { stuff; } block may or may not run at least once. do{stuff} while (boolean) block guaranteed to run at least once.
Can somebody give me advice on how to learn Java? Is the best way to follow online projects though UA-cam videos? Following online course? I know someone is going to say to create small projects but what projects would you recommend?
what if you want to run a menu where you ask the user to enter a choice 1-4? what should you write inside of the brackets after while(?) if I want it to run over and over again...without setting it to true?
hello! my question is if I can use loop for command live move(), turned(), turnright() in java so I can't have to repeat those code when I want to move an object. If yes then how should I put those code together. thanks.
0:18 While Loop
5:25 for loop
8:36 do while loop
Thank you you are so much better than my teacher
Duh
Your teacher
This is so fucking true haha
Couldn't have said it better
Imagine if your teacher sees this lmao
its 2022 and i searched java loop explained
its amazing that its still not outdated and java can still be used the same way...
and thank you for explanation, it really makes me understand now
Wow this is an amazing video. I had a really hard time understanding the difference between while and do while and now, because of your video, I do.
That is the most straightforward explanation I've come across so far!!! Thank you very much! Spot on!
Thanking you is not enough. For the first time, I was able to understand loops and understand what they do. You are the best.
This video helped me a lot, thanks ! Whoever struggling with understanding of while loops just watch this video
whoa, he's good hey...... he basically covered all three loop functions within a time span of 11 minutes.
thats why he named his own channel 'code' lol
you spend just 11 mins to cover the entire 50 mins lecture and actually make me understand what's going on while my 50mins lecture rises me more question marks in my brain
Explained with uttermost simplicity.
Wow I'm wanting to make a text adventure game for some friends and I've only been doing java for a few weeks in class and we haven't gone over this stuff yet and know I'll know all of it for when we do. Great tutorial!
im at uni studying computer and network tech, im studying java for it and i have to say.. at first i hated it! but now ive started to learn more about it and be able to solve simple tasks, its such a great programming language!
bro some next level teaching
Yeah I am gonna say the same thing as the first comment. You are a million times better than my teacher. Thank you
Beautiful explanation , man we are really glad that someone is teaching us for free , and all we can give you is a subscribe , like , comment and a thank you
ive been confused on loops for a while now and this helped out so much. thanks
Here is a tip! type in 'sout' and hit tab! This will give you System.out.println();
+Julien Dhouti yes. use netbeans, its supported by oracle. and eclipse is durst
For eclipse, type in sysout and press control+space. (This should work for both windows and mac, but im not sure because I use mac)
This right here!!!
its sout ctrl space
omg thank you lmao
Came for the do while loop stayed for the whole video bcs damn that’s such a good explanation!
I got a D on my first Java exam because I struggle with these loops (and I had a fever). I went from 98% to 84%.
I'm feeling kind of gutted and wondering if I should quit. Watching everyone leave the room before me sucked.
I should have watched these videos first.
thank you for this Sir, I do understand you more than my teacher because he only reads our module but to you you explained it well and I love the quality of your voice. Very Helpful
Very straight to the point, thank you
My guy, let me just say you are amazing
its jst took minutes to understand... thanks for it
This video helped a lot!! Thanks, dude!!
GREAT instruction...you have an easy to understand voice and you explain with detail.subscribed👍
0:26 While loop
5:26 For Loop
Thank you for your easy to understand explaination. I don't know why others don't explain things much easier.
Great video, I like that you provide examples after you make changes to the code. This helps a heap
holy shit you made that a lot simpler to understand
what a helpful vid from 2014!!!! thank you i have finally solved my problem
This is very helpful, thank you very much. Now I get the better understanding about loop function.
Nice video, summed up everything my teacher taught me for 2 weeks in 10 min
Great work. I have a Java final tomorrow and I am using your videos to review. Thank you for the help!
I love the simple examples, my textbook has very complex examples for the loops, so it made it hard to understand how the syntax applied to the examples.
This helped me so much. You explain things much much clearer than my instructors. Thank you!
one of the best video .. brother u explained it in the best way ..just in 10 mins u taught me loops ..thanks brother
why you calling him brother?
Thank you. You made the loops very easy to understand.
Two birds by one stone
1) learning English❤️
2) learning java language ❤️
Thanks, great video! Your explainations are easy to understand.
This vedio hepled me get the knack of it..pretty clear and good.
Fantastic. thank you
Outstanding tutorial , very easy to understand the content thanks to your examples and good way of explaining the loops
ive been struggling on how to read these loops thankx a lot man!!!!!
found this good analogy on reddit:
A bully is trying to beat you up. You execute a for loop.
for(energy = 5; energy--; you have energy left) { try to punch him }
That means you could punch him 5 times.
Now you execute a while loop.
while(bully is standing) note that this is a boolean! { punch bully; }
[bully is standing] could be true for 1, 10, 100 whatever punches. Its probably modified somewhere outside the loop.
A slightly more useful example :
Say you made a game. The game loop has to either be running, or paused. Using a for loop dosent make sense.
for(i=0; i < 10000; i++) { draw game stuff;}
Voila, your game abruptly ends after a few seconds.
while(running == true) { draw game stuff;}
Now it goes on till running is set to false.
edit : you can also guarantee whether a block is ran.
do while(boolean) { stuff; } block may or may not run at least once.
do{stuff} while (boolean) block guaranteed to run at least once.
Great video and explanation! I had some Java basics things mixed up, but now I have them all sorted out! Thank you!
in 2023 is wild
@@oniimoose7100 2024
Thank you Sir! Couldn't get any simpler.
Excellent! this helped me a lot for my exam . Thank you very much.
Bhavna Swami me too
this video saved me in computer class!!! thank you very much!!!
Thank you for such a great job! The way you explained this made perfect sense!
Excellent explanation. I ve now got the concept of control statements. Thanks
Very well explanation, I was able to completely follow along with this vs the video on my online course. Thank you very much for this
Thanks, best explanation yet!
awesome!! Best break down on how loops work... Thanks!
Thank-you for explaining this in an easy to understand and concise manner! Will be checking out your other videos and subbing
Quick & to the point. Thanks a million bro.
Thank you for sharing !! excellent ! could u please explain if use boolean to control the loop ?
Thank you so much!
Your explanation was straight forward and easy to follow.
Thank you so much, you just simplified it for me
Such an amazing video. Explanation was nice, simple and easy to understand
Papa bless you , good soul
Who else wrote a
ME HAHAHHAHAHHAA
Thank you
Perfect learning video
Thanks a lot !!!!!!! if it weren't for you I would have flunked my java test
Omg I got 65/70 for my IP test omg thank youuuuu
Thanks, helped me out a lot.
Wow. Keep uploading videos and you will assure my likes
Thank you this has helped me a lot
Thanks very useful for my exams.
Thank you for the simple explanation.
Very helpful thank you!!!😭
Amazing. Straight to the point!
thank you very much, man. you have saved me.
Thank you very much. You explain everything that i couldn't understand hahaha you have my gratitude
great! thanks for your help!
i dont get the concept
while(ture){
Console.WriteLine(Hello);
}
What the expression you are checking for the true to be validated.
thank you for this video. it's very cleared and detailed .
great explanation mate!! keep up the good work
Super helpful my guy. Keep it up 👍🏽
u r really good, thanks. fast and clear please make more videos
Can I ask you something Sir :) what app do you use for java coding? :)
Thanks in advance ♥️
Can somebody give me advice on how to learn Java? Is the best way to follow online projects though UA-cam videos? Following online course? I know someone is going to say to create small projects but what projects would you recommend?
Which loop is the easiest?
thanks helped me a lot loved this video
Really helped a lot dude thanks!
Amazing! Thanks a lot!
Well explained, Thank you!
Thank you dude
It is helpful video;
Thank you! very helpful and clear to understand :)
what if you want to run a menu where you ask the user to enter a choice 1-4? what should you write inside of the brackets after while(?) if I want it to run over and over again...without setting it to true?
hello! my question is if I can use loop for command live move(), turned(), turnright() in java so I can't have to repeat those code when I want to move an object. If yes then how should I put those code together. thanks.
How can I find a sum of the numbers that were input on to the screen while using a loop
You think while() is a construstor?
The display in my netbeans is not the same as the one shown on your video, can I start my source code from a different line with your video view?
sorry, I am newbe in netbeans
Thank You
I was stupid before watching this video
thank you, you were very helpful
Subscribed! Very useful video!
Welcome to the sick video!
thank you very much !!
Please I need more loops and how to use the in a program
Very helpful video!