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

Link to this comment:

Share to:

All Comments (274)

Sign In or Sign Up now to post a comment!
  • I LOVEYOU BUCKY

  • What program is this?

  • @nagawinniePR56 eclipse but just look at the first part

  • hmmmmmmmmm dosent work for meh D:

  • FUCKIN HELL. APPLE. TUNA. POTPIE. FOOD. EAT. JUST EAT SOMTHIN ALREADY T_T

  • very helpfull thanks

  • am i the only one who yelled at the screen "JUST TEACH ME HOW TO DO IT ALREADY!"

  • just, one, more, tutorial

  • @pineappleking73000 actualy no there are 87 overall.. then the intermediate and the advanced and the game dev :D

  • almost to GUI!!!

  • Fuck yeah! +1 to gui!

  • To some it up for the lazy since he just made the complicated

    public class tuna extends fish

    Meaning that the class tuna would extend all things from the fish class so you can specialized the tuna and it would still be a fish.

    Also for Minecrafters this is greatly used for the leaves block if you look.

  • here it comes....

    next one's 50!!!

    GUI can't wait

  • Wow that was buckylicous:D. You really did a great job on explaining inheritance;-). Thank you alot Bucky! And now lets get to video 50 ^^.

  • THIS IS INCREDIBLE! In class I just couldn't understand the meaning of inheritance, and know it's just a piece of a cake!

  • Programming with bucky makes me hungry

    

  • Thank you...:)

  • Is it possible to change a single variable of a method instead of overriding the whole method?

  • @bam1848 You could tell the method to take input in the brackets and then you wouldn't have to change the method to change the value. Hope that helps

  • that would suck to inherit crap

  • damn 9:25 before GUI GAAAAAHHHHH -_-

  • LEGACY !

  • totally not doing this one. I want the pretty stuff now lol

  • That made perfect sense

  • I guess bucky got hungry...that's why he added food class.

  • SUPER THANKS MAN! you will be a part of my historic life!! hahaha

  • OnE mOrE tiLL Gui owowhahwowhaowhoahwohwoahwohow­ho i will learn gui

  • DAMN i cant wait till 50,i skipped half of this video....

  • 6:40 "Let me get it up for ya, there we go"

  • PREPARE FOR THE NEXT TUTORIAL!!!

  • Anyone else pumped for GUI ?!

  • ONE MORE TILL GUI! So excited...

  • also, can you have an inheritance/extend in your main class?

  • wow OOP is so much easier in java than in C. Me likey

  • wowwowow this is such an awesome tutorial!!!

    thanks a ton for uploading this video

    its of great help for me.

  • @Kevingston96 lol no i meant give me an exercise, or practice problem, or something of the sort so that i can use everything we've learned so far

  • Can someone suggest a large program or programs for me to write that encompass everything Bucky has taught us so far?

  • @lNUMPUN Ummm... Eclipse? Tutorial 3?

  • whatt's the use of? class apple?

  • Great again, but could you explain when to use super?

  • @MrStelog Say you have a superclass called "users", you could than create a subclass called "admin" that inherits and uses the common user methods like "login", "password" etc.. but has special methods for admins only.

  • imho, Bucky's grade for videos 1-49: A++

  • it's like include in C ;d

  • All this food talk has made me hungry

  • apples feel left out :(

  • You are a lifesaver...thank you!

  • DUDE I JUST LOVE YOUR TUTORIALS!, i have learn c++, udk and more from BUCKY. Your just so beast and nice for this Free learning

  • Shouldn't it be "We are the Eat Methods"?

  • @idiotrun1997 Hi, If you overwrite the eat() method in the child class with exactly the same code as the eat() parent class method you have two different methods with the same code but if don't overwrite the method in the chid class, there is only one method.

  • Next tutorial is GUI!!! No more text ...

  • thank you :)

  • im doing eclipse and have a test and you are helping me get ready for the test and explaining things better than my actual uni lecturers thank you so much!!!

  • hurray now unto gui's ^_^

  • yo 1m3s

  • yo #T=1m3s

  • thank u..... :)

    

  • I Watched all the tutorials till here for around 3 hours.

  • @thecoop022 Did you actually comprehend and understand each tutorial? I've been making programs this whole time.

  • Comment removed

  • @thecoop022 oops comprehend and practice*

  • flawless explanation, minus the "=" sign error, I'm too OCD and was staring at it until you changed it =]

  • YES, after watching these through the night, following every tutorial im only 1 away from GUI!! Thanks for the tutorials :D

  • Thank you! This clears up so much!

  • that is all inheritance is? Dang my professors have been hiding that from me, that is super useful!

  • @Dcon6393 inheritance is actually one of the most important things in object oriented programming, its also one of the reasons for it to be so popular now a days.

  • @Xeinnex1 yeah it seems really important, I was just saying my professors have hid it from me when I could have being using it haha

  • omw the next tutorial in the series is actually visible to the right! 50!!

  • I was waching a guy who had made a playlist for all buckys awesome vidz and he missed this tutorial!(it has to be the reason that the next tutorial is AWESOME!)!

  • Woot, after so much procrastination!

  • what happens if you set the method to protected? can other classes still inherit those methods?

  • @xGore220 probably if the other classes are on the same package they can inherit from them.

  • is he using eclipse....if so does he have a vid on how to install that environment 

  • @deathdealer13cat Did you start at video 1? Because the first 3 or 4 is setting it up correctly...

  • is he using eclipse....if so does he have a vid on how to install that environment

  • How do you get the auto complete like when you typed the System.out?

  • @yeijie456 Syso ctrl-space

  • thank you! u a life saver. now, let me try do my assignment. I let u know how it goes. :D

  • @bangbam23: He uses Eclipse. Yes, it's compatible for both of them.

  • Great Tutorial Video

  • what compiler are you using? i use textpad for java and visual basic for c++

    can i use whatever compiler your using for both of them?

  • @bangbam23 jcreator

  • You got the best tutorials!

  • My text book sux, this is waaay better.

  • "Let me get it up for you"......tehehe

  • Thank God for this. My teacher is so boring and annoying.

  • That boss has bad grammar!

  • lol potObject

  • You are the man Bucky - I have been trying to understand "this", "static", and "final" for years and after 3 or 4 of your short tutorials I understand. Thank you so much.

  • 1 question...can i inherit only 1 method from a class?

    like something like this

    public class tuna extends food.eat{

    }

    does this work?

  • @spVIrUSeader If you want that, you could just go like:

    //This is tuna class by the way

    public void eat(){

    food fewd = new food();

    fewd.eat();

    }

    // I think that this would work, I'm not sure.

    // The eat method on class food should be public as well.

  • in Soviet Germany Bucky = Albert Einstein :) thumbs up

  • damn. Java makes me hungry

  • You also can inherit methods and fields with protected modifier and default modifier:

    protected void eat()

    void eat()

  • Apples, Tuna, Potpie, Chicken, Liver and Ham... Java Food!

  • "I aleready filled your brain with enough" LOL

  • i just noticed that all your classes are food

  • I think the voice behind the screen is a fatass, because the only thing he likes mentioning is food... I don't much blame him though, I'm a toothpick and I LOVE to eat...

  • "make sure you spell a couple things wrong there!"

  • watching these tutorials always makes u hungry. he keeps mentioning food

  • That was totally clear! There was nothing confusing about this at all! Thanks!

  • Chicken Liver? BLEH

  • Very helpful thank you.

  • buky i lovvvv uuuu........\

  • @NoiceNhomon: I really respect the work of this guy, but you are a moron.. in class you learn the more more more specific, here's the general of it.. -.-' IDIOT!

  • "Let me get it up for you" at 6:36?

    That's what she said

  • what happens if you extend the main class?

  • apples are food too

  • gr8

  • Seriously, what the hell was I doing spending so much money to be confused in school when I could have just listened to Bucky once to understand what's going on!!!! It makes me mad and happy at the same time...more happy though.

  • On to GUI!!

  • @nevrahdavis Finally *o*

    I'm happy :'D

  • @nevrahdavis CHARRRRRRRRRGEEEEEEEEEE !

  • You keep suprising me ;)

  • Thanks so much for these easy to follow tutorial's. For this video you forgot to mention the protected keyword (you may mention this later as I am only this far). A base class should always have protected methods for classes inheriting these methods. This basically makes methods private to all other classes except the inheriting classes which has public visibility of the methods :P

  • @whitebenji Yea your right. Protected is visible to extended classes. Also a note. You can make private fields and have a public "getter" method to get each field. e.g. private int x; public int getX(){ return x;}. This means it will be available for all classes.

  • Now this is "GOOOOD"!!

  • what if I want to inherit a constructor? I need to but I can't by just the "extends"

  • @rikoflishas You have to create the constructor for both classes. In the subclass you call the constructor of the supberclass with super();

  • do you always think on food?

    men i wach your tutorials seens 2009 and i started with phyton , continue like thak, i am 14 years old and mexican and i love programming because you explain things so easy

    thumbs up for bucky !

  • do you always think on food?

  • do you always think food? :)

  • this vidio was uploaded on my birthday... i know nobody cares jajaja,

  • Hmm... all this learning is making me hungry. I think I'll have tuna, potpie, and apples.

  • so... If I create a class labelled "Sayyan" and extend from it... I can go Super-Sayyan..?

  • @Tentacular two words can explain all ^_^

  • when I don't know jack shit, Bucky always saves me

  • am i the only one that learns java for fun instead for school???¿¿¿resterend

  • @JooooZt I thumbed ur comment down because your not the only one.

  • am i the only one that learns java for fun instead for school???¿¿¿

  • @JooooZt Definately not.

  • Great video. You really made these concepts really simple. 

  • Well done. My teacher couldn't make me understand Inheritance.

  • btw... what editor are you using?

  • @WhiteValkery eclipse, its soo good

  • @WhiteValkery Eclipse

  • omg... this is way too good...

    the only down side to this video is that i am now hungry... :/

    very very hungry XD

  • thank you sir you make my concept very clear from this video thanks alot..

  • I inherit potobjects all the time :)

    Geez, that wasn't funny at all :s

  • Excellent tutorial!

  • "Inherit crap" haha! I haven't even started taking these lessons in school and I feel like I'm gonna be lightyears ahead of the other guys!

  • thenks

  • 48,000 views.

    2 dislikes.

    Holy shit.

  • Many of my friends who know about extends tried to explain me about its functionality but I was not clear. Your 9.25 minutes make me so clear I hope I will not forget it. Thanks a lot. I will be always with your tutorial. I recommend all beginners to professionals your tutorial to make easy concept. Thanks again and hope you will keep going on.

  • my teacher makes 2+2 as complicated.

    but u made all the time makes it easier for me.luv u man

  • thanks for speaking in English. all comp sci profs talk in machine language with is just stupid.

  • Yo, what java program is thenewboston using?

  • @EnvyMizuhashi Eclipse. watch the 3rd episode.

  • this is one of ur best 10on 10 performance

    but one thing

    at 7:00 you says 2 min left

    do you first decide that how much time you will give to tut & then make it

  • @786avin buddy, youtube usually allows to upload video with 10 minutes and less length

    bucky said that is 2 minutes left at 8th minute of this video

    it makes sense isnt it ? :)

  • wow. you are actually the best :)

  • He said I am the eeaaaaaaat method...s....with an s.

  • Awesome! But what about the super keyword?

  • Well done... very easy to understand.Now, even my cat knows what inheritance is. Thank you!

  • which ide is this????????

  • @Aryaveer88Singh

    he's using Eclipse.

  • tuna, apples, potpie, food

    wow bucky you must be really hungry

  • this made me hungry...

  • I know this has been said way too many times but this shit is dope. Feels like all other programming instructors intentionally try to make it complicated when I compare them to you. Don't ever stop making your videos :)

  • 1 hour and 30 mins in class = 10 mins of your cool tutorial.

    Thanks for enlightening thousands of programmers around the world.

  • Superclass to the rescueee!!!! :p

  • its all so simple now, thanks bucky!

  • You are simply awesome bucky... cheers, keep it up...

  • you are the boss.

  • This is a good concept for inheritance my professor overcomplicated it after watching this I understand it.

  • Tuna -> Potpie -> Food = Inception :)))

  • Bucky, you are so awesome that even my professor uses your videos in class. Thanks for helping students like me who are stuck with ineffective teachers

  • amzing how you teach stuffs in 10 min that our professors are not able to in 1 hour

  • @prvnpn216 They probably can, but they want to keep you in for the full hour or two just to rub it in.