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

Link to this comment:

Share to:

All Comments (717)

Sign In or Sign Up now to post a comment!
  • everyone noticed the []s moving in the next video but nobody noticed it in this one...why?

  • lol, I already know most of this basic stuff but your videos are too awesome to turn away from ;)

  • Thank you for the tutorial ...

    but in my Jcreater i have one problem ..when i try to compile and execute any program the scrren just goes off for few seconds .The program shows the output

    correctly ..but this is not obvious..

    please tell the solution for this ..as quickly as possible.

  • These lessons help me so much, much appreciated

  • @macintosh082 That means something different. Extending tuna means that apples are a kind of tuna, while using it could just mean you are using tuna in the dish. For example, I could have a rpg with a item class. For making a torch, I would extend the item class. But in the inventory, I would not extend item, just use it. Hope that cleared it up.

  • @Keon31415 oh i got it now thanks for the reply

  • Can't you say public class apples extends tuna?

  • I want to work with stephanie :)

  • tuna...apples...bacon and cheese...are you morbidly obese?

  • @roflcopters1122 ive seen one of his V-logs he is not obese

  • Class within a class..... O_o ....class-ception! O_O

  • @lord123abc

    I think you mean 'Thumbs up if you are 2 years old.'

  • @cpu3ghzman Lol

  • Good vid Bucky........u helped me out dude.  c-YA

  • You must like food a lot...

  • 20 people don't like bacon and cheese

  • Stephanie needs to go back to the kitchen

  • God Bless You

  • my while count is still running....

  • @11011101111

    LoL hahaha

    Close eclipse and :P start again with new project

  • @TheIslamiq

    Or he/she could just click on the 'terminate' button in the terminal at the bottom

  • @tylerkovacs1 Yeah you are right but its more easy for he to cLOSE:D every one know how to close

    Best Regards

    TheIslamiq

  • this is how my company would work: tommy, we need you to build this, John we need you to build another class to do this, Sarah go make me a sandwich

  • we all now what class stephanie made........if you know what i mean :D

  • Thumbs up for Bacon and Cheese

  • Very awesome, much more useful than my professor.

  • when I try to type

    Felix3 Felix3Object = new Felix3();

    the class nameis kind of wrong "Felix3 cannot be resolved to a type"

    Whats wrong ??

  • @Felix9801

    try felix3 felix3Object = new Felix3();

  • if your doing solo programming do you actually need to know this, or is it just for if your making a program with multiple people?

  • @Xenocide007 This is the first video where i got a bit confused too, but i'm pretty sure it is important. It makes it easier to do different things to say, the same number. Or the same thing to different numbers.

  • @Xenocide007 Classes and anything object-oriented is critical to know in a programming language like Java.

  • or make simpelMessage to static and write in main tuna.simpelMessage()

  • Good thing apples and tuna work in java, cos they certainly don't work in a sandwich

  • omg... i wrote "This is another class" before you wrote it.. I mean i paused the video, wrote that, resumed the video and you wrote the exact same thing...

  • @ thenewboston

    couldnt you also say : "public class extends tuna" ?

  • if im not using an IDE, and I have multiple classes, how do i import that class into my main class? This other class file is in the same directory as main. I tried import ClassName; but that doesnt seem to work. Help pls? =]

  • Thumbs up if you use VIM

  • You are great! Thanks!

  • is simpleMessage a fixed word or i can use whatever i want in my method???

  • @lyrrad999 if you declared "public" you can use it all over the program...

  • why does he not write static in his tuna class?

  • @misterolichip because tuna class needs to be intanced in main class...it's a rule I think..

  • @misterolichip It is not the main class.

  • @Spanone2 so we write static only in the main class?

  • shouldn't you use capitol letters to start the Class names?

    like Tuna or Apples, because i always have been taught that in other tutorials for java and other languages.

  • @QwertyCharlieFourate I don't think so, if it is ruby, then i think yes.

  • @mendozajanrae oh ok. kl thanks :)

  • thumb up is your class already was tuna

  • 20 people got confused on Hello World

  • @honda3gold Epic

  • your the best bro...God Bless

  • @XxMichx I'm the youngest I have seen on any of these and I don't want to mod minecraft -_- what's wrong with me Haha I just want to make a basic code that does several different things

  • @UltraDrago2000 how old r u im 11 planning to be a programmer in high school

  • @UltraDrago2000 that is probs the right thing to do.

    i started by modding minecraft but realised it would be better to actually learn to program first.

  • Task of the episode:

    Built a sentence with 1 word per class.

    Have fun ;D

  • THUMBS UP IF YOU'RE HERE BECAUSE OF MINECRAFT!

  • I just started getting into java for my upcoming AP class, and i'd have to say, these tutorials are really good! Nice job!

  • its kinda different than it was in cpp, where you had to link all this crap together

    header to main source file, then create an object

    in java all these files know eachother?

  • Thumbs up if you're tired of people asking for thumbs up.

  • @TheSamLegacy i'm going to fucking slap you in the face

  • why tuna and apples? 

  • thumbs up if you want to make a game like minecraft

  • @lord123abc lol, you think thats easy?

  • VERY UNDERSTANDING OMG. HE IS BETTER THAN MY SCHOOL PROFESSOR

  • I finally got it. I was getting confused with creating methods inside our main class (in buckys example case it would be inside the apples class right above the main method). Got it!!!!

  • How would stephanie get out of the kitchen in the first place?

  • i use dreamveawer

  • Sounds like lunch.

  • ^_^

  • im addicted to java becuz of you

  • i just tried "tuna.simpleMessage();" and it worked without the part before

  • Such a better way of explaining this than what my teacher told me. Thanks so much.

  • i hate how i learn what he shows but the last video is gone from memory

  • What is the most tutorials anyone has gone through in one day?

  • Tuna and apples sound awful

  • Why won't mine work? I did everything he said. Is it different if you're using NetBeans?

  • @Matthmatt1213 No, it works exactly the same in Netbeans.

  • @HippieMagic Thanks

  • @HippieMagic But it still doesn't work :( Can you please explain why, *hopes that this person knows a magical solution to coding*

  • @Matthmatt1213 Try to clear everything out of Netbeans and start over fresh. I have had to before because it just stopped responding and allowing me to do anything... once it even said that the print line syntax was incorrect. It likes to break sometimes. For these tutorials you may want to follow with eclipse if it still doesn't work. Eclipse isn't an install or anything so it should be simple.

  • im here because i have to do a java tutorial marathon in the next days,so i can start finishing the board game projec that our teacher assigned us for my university:D:D

  • bucky you rock i earned $400.00 selling software :)

  • @NICKcoolize WOAH!

  • @NICKcoolize WOW What type of software if you dont mine me saying =)

  • @NICKcoolize BAWS :DD

  • Shit just got serious!

  • dunno has this been already asked but how can i call a paint from another class? is it even possible?

    e.g. tunaObject.draw(); ?

  • @officialenergizedPK because he needs to specify the class it's getting the data from.

    Apples.simpleMessage(); won't work because simpleMessage isn't in the class Apples. Using an object to place in the tuna class to store the info like a variable gives access from anywhere, because of the public method

  • When I Try: class MyClass

    I Get Error: identifier expected 

  • Thumbs Up If you can't watch the video :'(

  • Thumbs up if you think buck was hungry whilst making these tutorials :P

  • I think he's hungry...

  • tuna keeps popping up in the tutorials, it might mean something!

  • Why use a object idiot do apples.simpleMessage(); objects use 16 bytes of data...

  • @OfficialEnergizedPk It's obvious you don't know what you're talking about since your watching his tutorial.

    You're probably a booklearned faggot.

  • thumbs up for bacon and cheese!!!

    @5:03 

  • Comment removed

  • Thumbs up if you use eclipse, thumbs down if you use netbeans

  • @xJustas

    JGrasp

  • @xJustas I use BlueJ ._.

  • @xJustas NetBeans is crap.

  • @xJustas Pft, that's the baby editor war. Real men fight about vim v Emacs... but yeah, i use eclipse ;)

  • i made simple program with netbeans, the program contain a main class and 2 Jframes.

    i used the main class to create new objects from both jframe.

    something like this: UI form= new UI(); new UI().setVisible(true); UI2 form2= new UI2(); new UI2().setVisible(true);

    first jframe had a jbutton to close the second jframe. but i can't make the jbutton works.

    what should i put on jbutton event to close the second jframe?

    help me??

    (sorry for my poor English)

  • thank you

  • How does the apples class know the location of the tuna class file?

  • @stri8ted Often if it's in the same folder when you're running, your compiler will know what class you are referencing. Especially if you compile both before you run. Well maybe not, especially, but it's something I do to be certain.

  • Why isn't Stephanie in the kitchen?

    

  • Not trying to be a downer, but you kids coming here to learn how to mod minecraft... the code in minecraft is very hard to read and unless u get to like chapter 10 in the java book, it will be very hard to understand the code of minecraft

  • I am 12

  • @mpboomslang I'm 10 I built an epic website, I'm learning Java! lol

  • Can you use variables from other classes in a class without typing tuna tunaObject = ...

  • @mpboomslang Well let's say you have a class called bob. You can get a variable from bob by typing "bob bobObject = new bob();" though you don't have to call it "bobObject". You can have it be "asdf" or whatever you wanted, as long as you keep refering to it as "asdf" as in "asdf.simpleMessage();" and it would still work.

  • why cant we use methods in the same class?

  • why do u use (String []args ) sometimes else (String args[])

  • At line 5 : Why do we have to assign it to "tuna" class after the word "new" when we already wrote that the object will be taken from the tuna class ?

  • @abceurope123 It's basically says "ok we're getting something from 'tuna' and we're going to call it tunaObject, so remember this is a new object from tuna."

  • Comment removed

  • I love you bucky, this is awesome.

  • Can you do like

    tuna tuneNotobject = new tuna(); (Something instead of object...)

  • Java is really easy when u got a good teacher :)

  • i want to do computer science

  • Im studying computer science, not minecraft :P

  • very well explained....thanks!

  • thumbs up if you are not here because of MINECRAFT

  • @remixxproduction

    im here because i wanna fucking pass java in college

  • @TheDemonStr

    yeah, java is frustrating.

    i'm working on my case study now and it's a total paranoia.

  • Comment removed

  • @remixxproduction MINECRAFT

  • its 5:40 am, and i am learning programming ¬¬

  • @juliolokodavida I've been up for 30-2 hours. learning Java. ¬¬

  • Sounds like int he beginning of the video at 2 seconds he says "Sup guys this is Fuck You...". 0.o

  • im italian and im understanding everythings! thanks! :D

  • Comment removed

  • I also want to built a class...DO i NEEd cement for this or an IDE???!!!:):):)

  • What is dimple message:}

  • very helpful

  • I learn more here than at college, and a lot quicker too lol

  • Thanks a lot man! Your vids are amazing!

  • Apples, Tuna, Bass and Bacon and Cheese. These are his favourite food.

  • I knew a bit of this, but then i just gave up, but now i have better tutorials that dont bore the crap out of me :) (and require a lot of reading)

  • can u program something like minecraft

  • @micha222999 yea you can because minecraft was made in java.

  • WTF are those minecrafts ? for god sake

  • man.... what is it with minecraft mods and people around my age??

  • these vids are so good java is so clear now

  • @gears146 12 XD!!!

  • Thumbs up for being a naive teenager who wants to learn programming! :D

  • @MrStrokita after watching the first few vids i decided i am now a naive teenager who will stick to level design or texturing...

  • @MrStrokita wow that's a lot of competitors

  • ooops

    i messed up on ONE word xD so it didn't work

  • OMG THE CODE ISN'T WORKING FOR MAH COMPUTER!!!! D:

  • Thanks bucky... My company is changing most of it's software to java and JavaScript from perl so I need to touch up on my java... These tutorials are immensly helpful.

  • what if you wanted to use the whole class, with out getting rid of "public static void main.. "etc?

  • Hey Bucky, great lessons. extremely helpful and made simple enough for all...

    great learning, hope some of these 14 years learn this stuff.  IT is the future

  • so once you make the object, you can use the same object for every different class ? e.g. tuna tunaObject = new tuna(); cheese tunaObject= new cheese();

    or do you have to make a new object for every new class?

  • simpe messsegs, dimple message, Bacon n cheese. lmfao

  • Bucky so glad you made these. I have to teach myself Java because my school isn't teaching it this year which I need it in the summer for an HP Internship Thanks :D

  • I was the 1337th like, i win. :D

  • Im a programming major in college and YOU teach me more in 10 mins than my Java Prof. does in 90

    THANK YOU BUCKY

  • Hey Bucky, If we use the multiple class like this then whats the logical difference between inheritance? Is it only and extend keyword?

  • Bucky you are amazing!! I have been sitting here for hours trying to figure out this assignment in COM-209 and your tutorial worked wonders for me WOW! :-)

  • There are so many guys who wants to mod minecraft. Me? I want java because it is easy, I play minecraft too. I am about to create a game for a School Project.

  • So much minecraft...I am only here because I ran out of C++ tutorials to follow :(

  • @calmduck25 You won't get any where with spelling like that...

  • this playlist is filled by kids playing/modding minecraft

  • @TheMaterboy5 its because minecraft coding is great,and you need to have great java skills to mod in minecraft.this tutorial is helpful with the item codes in minecraft.

  • lol this is filled with 13 and 14 year olds who want to mod minecraft xD

  • @gears146 includes me and im 11(and create a game XD)...

  • @gears146 believe it or not that was me, but now im actually giving up minecraft but still learning so i can write my own programs. :) and i appreciate bucky's amazing tutorials. almost watched all of them :D

  • @gears146 nope, Im 14 and im here in the hopes to start creating my own unique games in java.