Added: 2 years ago
From: thenewboston
Views: 121,533
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (167)

Sign In or Sign Up now to post a comment!
  • @ethan1581 Nope. I've used them a couple of times since I learned this like last year. They don't include stuff like this for fun.

  • Do while loops seem simple and useless.

  • my stomach tickles wen i learn java :)

  • We lost 4,000 people from this episode compared to the last one.

    People it ain't that hard if he explaining it -_-

  • You sound like Commander Tucker from Star Treck Enterprise, making you even more awesome =)

  • Have seen all movies up to this and it's just perfect for learning java. have never programmed before and you can explain it like no one else. THX and keep up the good work :) Your a better teacher than the teachers at my school and mentors at work! :)

  • I keep thinking he says "And the doo-wah loop ...."

    It sounds like a bad-ass dance move.

  • you are the shit. love u man

  • Comment removed

  • Damn, I put = instead of == there. No WONDER I'm not a Java expert yet: the code didn't even compile!

  • Comment removed

  • Wow, I understand this and I'm ten, Weird?

  • wow from 1.200.000 viewers from first video now just 110.246 left in the 24th video, hope i will make it through the 87th video :D

  • public static void main(String[] args){ int counter=10; do{ System.out.println(--counter); }while(counter<=10); }

  • 1:38 !!!

    Awha hlake :)

  • MisterM2402 its ==

    two equals my nigga

  • I never figured why this DoWhile is useful. I can only think of examples when using this it will only mess up, as it doesn't check the condition first?

    And yeah, I'm a beginner at Java so that's probably why I don't know better I guess! :D

  • Comment removed

  • Isn't this pretty much the same as an "If" statement?

  • @C0GSniper Except this is a loop, meaning that if the conditions are still true then it will continue to execute. In an if statement, it only executes once.

  • how to print my name 25 times using do while loop?? please help me

  • @gaveen5555 Put your name in the system.out.println and change <=10 to <=25.

  • Mine says 15, then it spams 0...

  • @FVGaming did you forget

    counter++;

  • awesome dude!

  • Bucky got run time exception on ""ALIKE"":))

  • You rock ! pls keep on doing this.. u really helps a lot! God bless :)

  • do{

    me.watch("Bucky's Java Tutorials")

    }

    while(me.javaskill != javaskill.max)

  • i am taking computer science 201 and fuck man i learn more shit in your videos than what my instructor is lecturing about.

  • i cant really see how this should be usefull

  • It seems like the majority of people here wants to code games! Can't say that isn't my reason for watching this... ;)

  • can someone please tell me a example of a short program of when exactly i must use DO WHILE loop, cuz i cant understand it if i dont get some example.The thing is i cant remember for one cuz im very begginer. Ty

  • @iiperento watch his other tutorials it give ex

  • all your tutorials are helping me a  FUCK LOT in college,which is supposed to be the best in my country but you practically learn everithing by yourself....

    thanks,man!

  • why dont it work? any help? you should be able to type /yes or /no and depending on your answere it should either redo everything or stop it, but it dont work

    .obs, i ordinary have stuff in the println, but was to small place

    pleae help me

  • import java.util.Scanner; public class easycalculator { public static void main(String args[]){ int fnum; int snum; int sum; int user = 0; do { System.out.println(); Scanner input = new Scanner(System.in); fnum = input.nextInt(); System.out.println(); snum = input.nextInt(); sum = fnum + snum; System.out.println(); System.out.println(); String userinput = input.next(); if (userinput == "yes"){ user = 1; }else{ if(userinput == "no"); System.out.println(); user = 2; } }while (user == 1); } }
  • do{

    subscribe("thenewboston");

    }while(bucky == awesome);

  • 0:30 uhhhhhhh

  • do {

    YOURE MOM !! hehe

  • do while looping is good

  • Haha now I can write almost everything he's taught with no errors. unlike before were I had at least 11 errors for a 9 line programmXD

  • i can go thou your lessons with ease, doing about 10 a day! so easy and clear, you explain it better than my teachers! BECOME ONE!

  • nice!!

  • bucky for president!

  • DO C#

    

  • You did great teaching. :))

  • You are awesome, love doing this, can't wait 'till I finish this and the advanced ones to get to Game Development!

  • @Dragonates im so excited

  • @Dragonates dont get too happy, he quit the Game Development series a while ago.

  • @Dragonates F yeah.

  • apples and tuna delicious java ,, S U P E R  L i K E : )

  • while loop is easier to do

  • @MrAllexitable for loop is the easiest.

  • @RASHTG while is easier

  • "it looks an awfully lot alike like the while loop"

  • do{  [practisedowhileloop];

    }while(javaexpert = false);

  • @MisterM2402 I knew I was a nerd when I started learning this voluntarily, but now I know I'm completely doomed when I laugh at that...

  • @Mtc529 I pretty much did it voluntarily too. However, I'm actually starting a class on Java at University on Monday; let's hope I can remember this stuff :P

    Totally forgot I'd commented here, thanks for reminding me! :D Lots of other people liked it too apparently...

  • Comment removed

  • Thanks again :D

  • whats the differnece between this and the for loop?

  • Try to do something of your own using what you've learned.

    I did something like a dos style text adventure game, real easy and it uses a lot of stuff bucky teaches.

  • i know these tutorials are really good, but i just dont think im smart enough to process all this information :L maybe i should go back and watch them a couple of times :D

  • 2:57 actually, it's after a do

  • Same as C++! :)

  • This makes me feel like playing Runescape...Awesomeness

  • @NehiThompson too bad runescape is complete shit

  • @hello19286 LOL! #FreeCountrySoPlayWhateverYouW­ant

  • do loop. lol

    for some reason that makes me laugh

  • i can't wait until tutorial number 50! minecraft! lol

  • You could be a computer science teacher, specefically programming :D you know like 20 languages!

  • The differency between do ... while and while .. do: "The condition will be checked first then do and vice versa"

  • counter.strike xD , lol cant subscribe to your channel, do you have 65535 members already? XD

  • counter.strike xD

  • Thumbs up if you nearly never play around with it as bucky says, but instead just skip to the next tutorial cus you think you got the hold on it :)

  • take a walk on the while side.......

  • @Babelfish112 do dodo do do dodo do do do doooooo... 

  • @Vercinger haha yeah :)

  • Counter = 1

    do{

    System.out.println("Bucky is awesome!");

    }while(Counter==1)

    Shiiiit Thumbs up if u tried this and eclipse crashed :3

  • @jayjay11011 lol that's not a full program :P

  • Thanks so much for your videos, we are doing Java in school, but my class is sooo bad, that I don't learn anything so thx for this, because I'm really interested in programming

  • Bucky I'm in love with you. Seriously.

  • Ur like the khanacademy but only u specialize in computers. UR AWESOME BRO

  • thumbs up if you have 80 java projects open from all the tutorials

  • just to double check, am I right in thinking the script would do the exact same thing if you wrote:

    System.out.println(counter);

    counter++

    while (counter <=10) {

    system.out.println(counter);

    counter++

    }

  • @MentalMiniman yes it would... without the typos and with the counter int defined of course....

    add int counter = 0; at the beginning

    add a ; after each "counter++" so it looks like counter++;

    and capitalize the system in the last "System.out.println(counter);"

    and it should do the same thing

  • This error keeps coming up!

    "roll" can't be resolved to a variable

    when i do something like

    int roll = 0;

    if (roll == 2) { System.out.println(roll);

    }

    Can you please help?

  • @vipervenom717 put "roll = 2" instead of "roll == 2" I think that should work.

  • @vipervenom717

    you either need to define roll as 2 "int roll = 2;"

    make it so roll can become 2 "roll++;"

    or create an else statement

  • I wish you were teaching my programming class in college instead of the professor I have. Great video, great explinations. Subscribes all the way

  • If you really want to marry an Latino women come to us rockmycity.info

  • bucky ur great!

  • Guess Bucky's IQ........

  • love it

  • Bucky, you are my new man crush!.. im not gay though btw

  • 24 done

  • that was really helpful...

  • LOOP DOO LOOP!!!!

  • Bucky You are soo good at teaching this you rock!!!

  • Ur the best!

  • ur awesome

  • dude i had p0roblem using for and conditional operators and do-while loops until the lord sent me your way... NOW I AM TRULY SAVED.......

    LONG LIVE THE GREAT LORD BUCKY!!!!!!!!!

    IM GAY FOR YOU MAN........ TOTALLY GAY FOR YOU...ID LET YOU DO MY MUM IF U WANTED.....loool.. nah just kidding, id kill you if i caught you with her........ OR WOULD I??? (o_O)

  • does visual studio 08 uses java??

  • @79902625 Lol no dude, no.

  • @79902625 nope, it only does microsoft programming languages, like Visual basic and C++

  • @79902625

    no!

  • @79902625

    no!

    they use c#

  • You should offer the tutorials to schools to use :L

  • this helps, my teacher just draws flowcharts all day and it doesn't help whatsoever... :( so i have to rely on learning this way.

  • Why can't you just do this?

    int counter = 0;

    System.out.println(counter);

    while(counter<10){

    counter++

    System.out.println(counter);}

    I suppose it might bother some people that System.out.println(counter) is in there twice, but if it really bothers you you could just make another class for it or something like that.

    I guess this is easier for the type of people who follow everything exactly by the book and can memorize the book very easily, but my memory sucks, so I don't see much use for this.

  • @Hedgehogs4Me I think because it's not just about printing things out on the screen, it might execute a code once, until certain condition is met

  • @Hedgehogs4Me

    How are things now going with java

  • Your tutorials are really helpful i've just started java programming but previously done other programming. There is also the do-if-while that you missed which is handy sometimes, apart from that great :)

  • can you do 'do while' loop in a 'string'?

  • @MidnightRedemption depending on how will u change ur string

    i mean a contious changing ... like a for loop

  • @tarabatota tnx.. i just get confused on 'for' and 'do while' but i can get the hang of it.

  • thank you i finally get this

  • i made a code that says "is bucky awsome" if u say yes it says UR RITE if u say no it says FUCK YOU and puts a link for thesie tuts

  • Professor Bucky!!!!!!!!

  • theses tutorial were the best for me while starting java thanks a million

  • i bet the dislikes on here r teachers in school that teaches java to their students but they cant teach so they r dislikin bucky.

    ur great bucky thx

  • YouTube needs more channels like yours, bucky. Please, keep up the good work! : )

  • Yeah, You are a good teacher!

  • Thanks for the tutorials. I've been learning c++ in a programming class at my school. Java is very similar. You've been a big help, thanks.

  • If it executed the code in the do body, why didn't the variable come out as 16? It still knew that it was supposed to stop and you said it was gonna do it even before it checks to see if its supposed to be doing it or not.

  • @EmpirezTeam I'm not sure what you mean, but the counter starts as 15. The program prints it's value (does not need to meet the condition). Then it does not meet the condition to loop, so only 15 is displayed.

  • @hmk25061984

    Just shut up... -.-

  • whihc IDE u  use in this file?or which editor..?

  • @gparag88 It´s eclipse, like he shows in the second tut.

  • ya u r rgt man...

  • very nice thanks

  • Bucky, you should really become a teacher, cus u r amazing!!!!!!!!!!

  • @hussi434 He is a teacher, a YouTube Teacher!

  • @MikeyPCTech lol

    

  • @hussi434 I really don't see why he'd become a teacher, he probably gets paid more doing whatever he's doing on top of this stuff.

  • @hussi434 he is a teacher kind of, he learn us C++ via youtube :P

  • @hussi434 screw that..let him be a proffesor ;p

  • @hussi434

    I think he needs to learn how to enunciate English words a lot better before he does that.

  • @Daim0th Give me a fuckin break like you use enunciate on a daily basis. Jack off.

  • @BapidBeagle

    So... Enunciation is not an important skill for an orator to have? Blow me, fanboy.

  • @hussi434

    He also needs a better grasp on grammar.

  • @hussi434 He is, he teached you Java.

  • wow cool :D

    how tha hell can u type that on the computer??

  • @Hauserdav The counter++ statement is after the System.out.println();. It will run and then hit the while condition statement. It will return false, and that is the reason it is 15. It would return 16 if the code was like so"

    counter++;

    System.out.println(counter);

    }while(counter<=10) ;"

  • now I know something else...in java...thanks * 22...

  • I've been watching these tutorials and I'm not a programmer, programming is one of the things I'm not good at. I never understood the loops in C++/Java, and holy crap, it just dawned on me the differences thanks to your explanations and tutorials.

    Thank you Bucky!

  • Im stuck on a program for school, how can I make the user input characters until he inputs an upper case letter w/ JOptionPane?

    also

    Have the user input Strings until he inputs the word "Quit". The case of the letters should not matter.

  • use ||

  • @saucebiotch learn if statements

  • very nice thank you , i have one question when we work with a loops how we can generate a table like this

    123

    456

    789

    using do while loops

  • very very similar with c++

  • Bucky this was to the same standard as all your video's = Execellent! Thankyou.....

  • nice tutorial i really beginning to learn java.. thanks for the tutorial

  • nice

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more