Комментарии:
Great video and explanation! I had some Java basics things mixed up, but now I have them all sorted out! Thank you!
ОтветитьYeah I am gonna say the same thing as the first comment. You are a million times better than my teacher. Thank you
ОтветитьThank u thank u thank uuuuuu
ОтветитьWelcome to the sick video!
ОтветитьTwo birds by one stone
1) learning English❤️
2) learning java language ❤️
Thank you so much, you just simplified it for me
ОтветитьWhich loop is the easiest?
Ответитьive been confused on loops for a while now and this helped out so much. thanks
ОтветитьThank-you for explaining this in an easy to understand and concise manner! Will be checking out your other videos and subbing
ОтветитьCan someone help me with this:
Write a while-loop that prints x plus signs on the same line.
public static void runLoop(int x){
// complete the loop below
while(){
System.out.print();
}
}
Thank you for the simple explanation.
ОтветитьThank you so much
ОтветитьThank you :)
Ответить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
Consice and usefull, thank you
Ответитьthis is so random but he kinda sounds like felix from stray kids :')
Ответить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 explanation mate!! keep up the good work
ОтветитьThank you Sir!
ОтветитьFantastic. thank you
ОтветитьMy guy, let me just say you are amazing
Ответитьholy shit you made that a lot simpler to understand
ОтветитьWell explained, Thank you!
Ответить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
Ответитьbro some next level teaching
ОтветитьThank you so much!
Your explanation was straight forward and easy to follow.
You think while() is a construstor?
Ответитьvery helpful
Ответитьthankyouuusooomuch
ОтветитьMy fucking savior
ОтветитьThank you! very helpful and clear to understand :)
ОтветитьVery helpful thank you!!!😭
ОтветитьThank you for your easy to understand explaination. I don't know why others don't explain things much easier.
Ответить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 <3
Ответитьive been struggling on how to read these loops thankx a lot man!!!!!
Ответитьwhat a helpful vid from 2014!!!! thank you i have finally solved my problem
ОтветитьThis helped me so much. You explain things much much clearer than my instructors. Thank you!
Ответитьhi i´m here cuz my german proffessor in my uni is fucking shit
Ответитьmy 3 hour class makes it easier with an 11 minute video
Ответитьhello
Ответитьhow about starting negative?
Ответитьthnaks
Ответитьwtf is wrong with this? i thought i play a bit with it just to understand better and ofc im fkn dumb it already crashed on me
int a = 10;
do {
} while (a <10);
System.out.println("Loop finished @ " + a);
}
System.out.println ( "finished");
Hello can you help me out how to use if condition like 0123456789 and the
Output is
123
567
89?
Thank you much I really need it