Think of Classes as Categories and Objects are instances of that class, example: Animal is a Class, we all know what qualifies something as an Animal. A dog is an animal, therefore A dog is an OBJECT of THE ANIMAL CLASS. A chair is not an ANIMAL because we know what a CHair is, it does not contain the attributes of the CLASS or CATEGORY ANIMAL.... Actually a CHAIR is a CLASS in that WE KNOW WHAT MAKES A CHAIR A CHAIR, and can have DIFFERENT TYPES of CHAIRS
This video has helped me a lot you are very good at explaining the processes of Java. I have subscribed and am looking forward to viewing all your videos.
I understand the basics pretty good. Do you have a video on how do you validate a user input inside the class? for example having the user input the age.
I know you would have to use a setter method ( ex. setAge) but what would be the logic inside it to validate the age. in case they enter negative number.
This video helped so much! My book gives a crappy definition for objects by simply saying they are "Instances of a class; objects are made up of attributes and methods." Nowhere in the text can I find some sample code where it points out all there is to know about objects. Thanks for showing a program and explaining everything you've done in it.
because this video saved my ass tonight, changing my life forever in the process, i decided to dedicate a poem to Aphonik for his spectacular tutorial! It goes like this:
@ipikluninja91 I believe he is passing variables into the bender class instance. The first number is his age, becuase in the Robot class that variable appears first.
my student teacher just hand out our summative and it is due tomorrow. only one week. worst part is we started learning about classes and objects and on the next class he gives us a summative that's too hard. and only one person knows how to do it cause he learned all the cs stuff before we did.
why would you use notepad? use an IDE that highlights your code depending on what each word is and other helpful things as well as only having to press one button to compile and run...good vid though.
now i see why our teacher went over alice before starting java. i understand the terms and the order in which they are used. we start java on monday so i hope to have a head start at using it, because alice confused me during my first encounter.
Just one thing I don't get: How does calling upon the object "bender" to access its methods (like bender.turnOff();) work if those methods aren't contained within the constructor "Robot" ?
good job explaining it bro just one comment, get JCreator , and JDK, theyre really useful instead of using notepad you can be using a java environment, that will make your job easier, its free just look up JCreator, and Java Developers Kit, install JDK first then Jcreator 2.5 (newer versions are much slower)
Java seems a LOT like C#! But I do have a question, instead of putting the Application class in a whole other program, couldn't you just put that class below the Robot class in the first one?
Very nice little lesson here, i have an OOP exam tomorrow haha need to get as much info into it as i can and your explanation helped me alot :) thanks man
I understand I don't need to know how it does what it does. An that I guess the point of this is to show if you program it to say I am bender Robot Age 4 etc. You now have shown us how to make it do this? I just don't see the point to the code like. Where an what would I do with this? I am new to programming as you can see. But I feel like writing code is so pointless if there is no purpose to it. Example firefox has a purpose allowing us browse pages, organize what we like by using favoritesetc
It takes a very long time before you can program something usefull.
And this tutorial is probably too advanced for you because all the code is kind of confusing. Manifest222 made a slightly interesting flash tutorial which shows how to make a rpg for flash cs. He didn't put enough effort into his tut's though. :(
Download bluej, start with if, if else, for loops and while loops.
You will probably struggle with resources to help which sucks but yeah. I told you its hard!
@liquidmetaltech, lol yeah I didn't really understand it but thanks for replying man. At least that helps clear some of the confusion I was having. I'll try out bluej. Thanks again!
Id just like to say that this tutorial has really helped me! I am actually programming OOP in C# at the moment for coursework and I would say that as a student, I never really was introduced to the language. However, this video has taught me a hell of alot in just 15minutes and I can just see by other comments that I am not the only one who is grateful. So thank you!! x
It knows to find Robot because that's the name of the Robot.java file the class is stored in.
The only affect two of the same method will have is running that method twice.
When he was describing the Robot class he talked about the constructor. The values in the parenthesis () that you posted are called arguments. They are passed to the new Robot object bender when the object is created. The constructor reads the arguments from left to right assigning the variables to the object accordingly.
@Kainaffets Its one of the excuses.... Most of them dont like what they re doing. Lot of them dont like to make friends and meet people... they re not friendly people. Some dont even have social skills.... because life was spent reading books.
Proffesors were hired by looking at their GPA and resume'... not their personality and communication skills. Until that continues, my university fees are one of the worst investments ever.
Ello mate, just wanted to say that cuz im puerto rican and that euro accent sounds kool. anyways great tutorial I enjoyed it even though I currently know this information I believe it was good for people currently studying java. Also @ isbcrv maybe its a good thing that he didnt merge all the methods together into one, cuz it shows new users how to create multiple methods in one class and then call them from the main. I agree eclipse should be used but hey the guy likes notepad thats kool :-D
Note: instead of having a bunch of different methods in the robot class - one for turning on, one for turning off, one for displaying attributes - you could also just have one method called 'run' (or whatever you want to call it) and put all the print statements inside. Then just call "run" in the application main.
lol you should use Eclipse instead of Notepad, it will debug these little syntactic typos for you (in additional to doing syntactic highlighting... etc)
You should always include a toString method in an object that overides the default one. This way when you S.O.P the name of the object it does not say it's ram adress
This is assuming your real world analogy, but we are programmers, it is our job to know as much as we can about the tools we use. you wouldn't want to be a mechanic and only know how some of your tools are used would you?
Is it me or is a class just a renamed function? You can call a function with function(); right? So assuming a function is declared you can just call(); it. Also your point about not knowing how it gets to the result, blind programing (as I call it) this is a disadvantage because it creates coders that just fob it off, "nah i dunno who it does it". The point of computer programing is to have more control over a computer the minute you introduce abstractions is the minute you loose control.
An object represents a real world object. A class defines an object. A method (or function) is an implementation of how something is done. An object can have many methods.
As for not knowing how some results happen, who cares? That's a good thing! If you were creating an object of a person that drives a car, why do you need to know how the car works? As long as you have your interface (steering wheel etc...) you can drive the car. Who cares what type of engine is contained within the car?
You do need one thing. The Java Developers Kit which you can easily find by googling it. It will give your computer the library and ability to compile the java code and the command to compile java code (make it into an executable file) is "javac"
Lol... Man you think that this is all there is to OOD? All he showed you was 1/3 of OOP. There is inheritance, and polymorphism (hardest of them all)...
did I imply this was the be all and end all of OOP. No I didn',t your just looking for a opportunity to stamp on someone. I learnt something from the video thats all I said.
usually this stuff is confusing for learners I was simply saying the video made its contents simple. I'm complimenting the video for its quality, I never stated OOP was easy, how do you get that out of what I wrote.
Best lesson I've ever had on classes. I get confused sometimes with what goes where and how to put it all together in the end. Its nice to see it done.
Hey man you are such a good explainer! Seriously You make it interesting and your funny too Bender haha I watch Futurama. It's is nice that you are posting this info up. You helped me alot I hope you post more tutorials up because this helps alot. Thank.s for the help Like alot of other people on here you helped fill in my gaps of understanding this Java programming language..
Hey, just learning this stuff myself and have a question. I noticed you don't declare the class or method a public or private value. Is that due to the version, or does it default to public?
BTW. The video has filled some of the gaps in my understanding. Thanks for that.
Damn man you make this look easy. Great explanation and you are a great teacher. I take AP Computer Science and have been using Java for the last 2 years. Great job and I learn new things by watching these.
Hey! you are amazing. your tutorials are so easy to understand! it actually makes sense. i actually started learning java programming with these giant and BEYOND complicated books i checked out of the library. that was a failure! and so i am really happy to have found these videos on youtube. Thanks so much!
Thanks to this (and your other tutorial videos) I made a Dog object with 5 methods. Some of them required if-else statements and one even required a switch statement. All together it took about an hour and it was my first big-ish java program. And I was able to do all of this with one book and your tutorials; so thanks again!
This video reminds me of the terrible time. I got C in OOP last semester. I messed up in the lab exam. At the beginning I thought I was gonna be easy until it needed database knowledge. lol
A-ha! Thanks!!! This is what has stumped me in Java, and I think I've watched this a few times, but I'm started to get it!
All your vids have been a great help! I wish they taught it this way, but they just hand us a heap of reading and expect us to make sense of it. It's NOT rocket science...It just needs to be explained well. THANKS!!!!!
When you do the command, java, you have to only put the class that you declare at the beginning of your program. By not putting the file extension at the end, you shall be successful in executing your program.
Absolutely AWESOME video, thanks!
3306105 4 days ago
Think of Classes as Categories and Objects are instances of that class, example: Animal is a Class, we all know what qualifies something as an Animal. A dog is an animal, therefore A dog is an OBJECT of THE ANIMAL CLASS. A chair is not an ANIMAL because we know what a CHair is, it does not contain the attributes of the CLASS or CATEGORY ANIMAL.... Actually a CHAIR is a CLASS in that WE KNOW WHAT MAKES A CHAIR A CHAIR, and can have DIFFERENT TYPES of CHAIRS
blkbearh2o 2 weeks ago
Wow, this really helped me with objects!
M403Destroyer 2 weeks ago
Thank you for the video, you made it simple and easy to understand :)
sand4jv 1 month ago
hey thanks man....this helped me understand oop....
TheRoudox 1 month ago in playlist Uploaded videos
Really helpful
BinaryRobin 1 month ago
This video has helped me a lot you are very good at explaining the processes of Java. I have subscribed and am looking forward to viewing all your videos.
TruckinPaul 2 months ago
Great stuff - making sense eventually to me - can you doan example of object lists?
thanks
GlennFitzpatrick1 3 months ago
Hi,
I understand the basics pretty good. Do you have a video on how do you validate a user input inside the class? for example having the user input the age.
I know you would have to use a setter method ( ex. setAge) but what would be the logic inside it to validate the age. in case they enter negative number.
therock343 3 months ago
Best video I have seen so far on exactly this subject.
The 240p resolution is the only thing that could be better.
ofnotandi 3 months ago
This video helped so much! My book gives a crappy definition for objects by simply saying they are "Instances of a class; objects are made up of attributes and methods." Nowhere in the text can I find some sample code where it points out all there is to know about objects. Thanks for showing a program and explaining everything you've done in it.
Ooabloka 3 months ago
Now I get itt...
jrinkthedew 4 months ago
Finaly I understand it. Thank you sooooooooo much.
ovidiub13 4 months ago
because this video saved my ass tonight, changing my life forever in the process, i decided to dedicate a poem to Aphonik for his spectacular tutorial! It goes like this:
8:18 the video read,
2:22 AM my comp clock said,
"its too late" complained my head,
on the verge of going to bed,
After that it all did click,
The grand double o p trick,
Now sweet success i shall lick,
All thank you to Aphonik!
TheJacRac 5 months ago 22
I study java oo at university and all this is new for me.
It clicked for me after seeing this video. Thought I've would have known this after 6 seminares and 2 weeks of studies.
Thanks alot man!
Papa91echo 5 months ago
Get full course for download
sujanvaland 6 months ago
thanks dude...
PineNutButter 7 months ago
Great vid thanks.
tnoamen 7 months ago
wat do the nos. represnt in the Class Application....
Robot Bender= new Robot(4,67.7,245.976)
ipikluninja91 8 months ago
@ipikluninja91 I believe he is passing variables into the bender class instance. The first number is his age, becuase in the Robot class that variable appears first.
Nettikturbo 4 months ago
You are swallowing most of the words....sorry i am not able to understand you...
ipikluninja91 8 months ago
I agree 100% with the top commenter TreBros!!!
supernova360 8 months ago
Thumbs up if you thought you were clicking on Buckys 5th tutorial.
yemieko 9 months ago
my student teacher just hand out our summative and it is due tomorrow. only one week. worst part is we started learning about classes and objects and on the next class he gives us a summative that's too hard. and only one person knows how to do it cause he learned all the cs stuff before we did.
flamerz94 10 months ago
notepad and CP like a boss.
djclarity222 11 months ago
Quitting school because it seems i can learn Java on YouTube now. WTF? thanx dude..
WhiteKeys007 11 months ago
Just fifteen minutes and forty one seconds ago I was completely lost. Thank you, sir.
whatsup255 11 months ago
hay, is it like you gonna Google/copy/paste the Java? I do not understand most of the statements to remember doing from the ground zero!
shahinpar 11 months ago
is this the same concept for using blueJ?
jonesville09 11 months ago
why would you use notepad? use an IDE that highlights your code depending on what each word is and other helpful things as well as only having to press one button to compile and run...good vid though.
CKYJosh22 11 months ago
now i see why our teacher went over alice before starting java. i understand the terms and the order in which they are used. we start java on monday so i hope to have a head start at using it, because alice confused me during my first encounter.
DChosenOneD 11 months ago
so useful , Bravo
gonabil 11 months ago
Great introduction!
Marcinkonys 1 year ago
Oh and next time please choose another robot name. I don't watch Futurama but I do live in England :-)
Thanks again!
k1d0z 1 year ago
That was indeed really helpful. Well done.
Cheers!
k1d0z 1 year ago
i understand all these languages but java is so lame wtf
BeholdaFuckingwakeup 1 year ago
this is the tutorial of JESUS CONDE you are a copy you are stupid for me!!!
I hate you!!
ESTE SEÑOR COPIA LOS TUTORIALES DE JESUS CONDE EL ES UNA COPY BARATA HIJO DE PUTA
venturitaron 1 year ago
Thank you so much! This is probably the most well explained, clear and perfect tutorial on OOP!
Xedfire 1 year ago
those r really helpful man...
pandugadu0452 1 year ago
15 minute video and 11MB wow ! time saving....
to download videos...thank you!
np201011np 1 year ago
This tutorial is great!
Just one thing I don't get: How does calling upon the object "bender" to access its methods (like bender.turnOff();) work if those methods aren't contained within the constructor "Robot" ?
Mindstormscreator 1 year ago
FANTASTIC TUTORIAL!
First video I watched I watch on Java OOP after reading a few websites and gave me a clear understanding of how it works.
Cheers!
aqib14 1 year ago
Cheers for that Ed, you're great at explaining.
hofmannsapprentice 1 year ago
lol. this is basically what took me 4 months to learn in school. very good explanation sir.
AhYaOk 1 year ago
good job explaining it bro just one comment, get JCreator , and JDK, theyre really useful instead of using notepad you can be using a java environment, that will make your job easier, its free just look up JCreator, and Java Developers Kit, install JDK first then Jcreator 2.5 (newer versions are much slower)
ThePatientSniper 1 year ago
Wow great work ,thanks a lot
sasanka107 1 year ago
Wow great work ,thanks a lot....................
sasanka107 1 year ago
the only reason why this stands out from the other OO videos on utube is because he SHOWS examples.
trykillmi 1 year ago
My Java teacher sucks !! and i went to youetube and found your awesome video :D
you've solved my problems dude
Thanks alot and keep going
bashaora 1 year ago
thanks man!!
abhishek123nag 1 year ago
Wow, thank you so much man! YOU MADE SO MUCH SENSE!!!
I love you...
pcdawg0321 1 year ago
Excellent video and presentation. Thanks
d19113 1 year ago
Java seems a LOT like C#! But I do have a question, instead of putting the Application class in a whole other program, couldn't you just put that class below the Robot class in the first one?
tkmartindale 1 year ago
@tkmartindale
It would be fair to say C# is a LOT like Java.. if you read the history of C# :)
dasikalyan 1 year ago
@tkmartindale you can have classes together but it gets very messy if you write big programs with lots of classes.
emelianenkoo 1 year ago
Pretty cool..
I got a question though
Why do we call them methods while in C and C++ we used to call them functions?
That got me confused for a while
hesham3540 1 year ago
man ! you explaned it very well
joe5178 1 year ago
This seems almost just like OOP in "C++" ..Are they ? or is Java and C++ just really similar?
adrianm15 1 year ago
@adrianm15 , yes it is.
paz1359 1 year ago
This has been flagged as spam show
@adrianm15,yes it is. :)
paz1359 1 year ago
This has been flagged as spam show
Hi people,
there is a new social network dedicated to everyone who is interested in graphic,hacking,programming and information technology.
The link is: nerdz.gotdns.org
ENJOY!
Cinderellasdrunk 1 year ago
Hey, I love this video. As 'TreBros' said, you can explain theese things pretty good. Thanks for this great video!
mdsky 1 year ago
thank u! u helped me understand this sooo much better!!
MsCantthinkofanythin 1 year ago
always learn from errors...lolz..
sliveremas 1 year ago
your explanation even better than my teacher's...subscribed...
sliveremas 1 year ago
Hehe thanks for the explinations. Helped me alot to understand the language
anosis22 1 year ago
Very nice little lesson here, i have an OOP exam tomorrow haha need to get as much info into it as i can and your explanation helped me alot :) thanks man
L33THash 1 year ago
I understand I don't need to know how it does what it does. An that I guess the point of this is to show if you program it to say I am bender Robot Age 4 etc. You now have shown us how to make it do this? I just don't see the point to the code like. Where an what would I do with this? I am new to programming as you can see. But I feel like writing code is so pointless if there is no purpose to it. Example firefox has a purpose allowing us browse pages, organize what we like by using favoritesetc
x900lbGorillax 1 year ago
@x900lbGorillax
It takes a very long time before you can program something usefull.
And this tutorial is probably too advanced for you because all the code is kind of confusing. Manifest222 made a slightly interesting flash tutorial which shows how to make a rpg for flash cs. He didn't put enough effort into his tut's though. :(
Download bluej, start with if, if else, for loops and while loops.
You will probably struggle with resources to help which sucks but yeah. I told you its hard!
liquidmetaltech 1 year ago
@liquidmetaltech, lol yeah I didn't really understand it but thanks for replying man. At least that helps clear some of the confusion I was having. I'll try out bluej. Thanks again!
x900lbGorillax 1 year ago
@x900lbGorillax
pm me. Have a good look for resources and get started.
PM me and I'll help you.
There is a java channel on quakenet and if you don't have mirc then you can atleast use some irc quakenet webchat thing, google it.
But do NOT bother them with such very basic stuff. :D
Thats what I'm here for. :P
liquidmetaltech 1 year ago
Id just like to say that this tutorial has really helped me! I am actually programming OOP in C# at the moment for coursework and I would say that as a student, I never really was introduced to the language. However, this video has taught me a hell of alot in just 15minutes and I can just see by other comments that I am not the only one who is grateful. So thank you!! x
cj92ox 1 year ago 3
zzzzzzzzzzzzzzzzz....zzzzzzzzzzzzzzzzz...uh!
primetime0104 1 year ago
Bravo!!!!
babykahryl 1 year ago
... i didnt saw the video ! i saw the last secounds ! and i didnt understand what is that ??? can u explain what u do in this video ?
ahmednameer98 1 year ago
You tutorial is one of the best I have run into! Thanks
Guitarist4590 1 year ago 2
I can hardly hear this one.
dashbyictfd 1 year ago
hey,
just have a few questions.
How does the application know to run robot, and not some other program that you might have made?
Also, you have 2 bender.process in the "Application" program. Does this have any affect?
Also, i am confused about the robot bender = new Robot (4, 67.7, 245.976)
How does the program know that the age is 4, the processing power is 67 and the capacity is 245.976
thanks,
hope i haven't confused you :S
lachlanmann 1 year ago
It knows to find Robot because that's the name of the Robot.java file the class is stored in.
The only affect two of the same method will have is running that method twice.
When he was describing the Robot class he talked about the constructor. The values in the parenthesis () that you posted are called arguments. They are passed to the new Robot object bender when the object is created. The constructor reads the arguments from left to right assigning the variables to the object accordingly.
austincm18 1 year ago
Yes, it gave me more too than the incapable teachers in the school.
MrSuslicek 2 years ago
i dont understand why university professors suck when we pay to go there and youtube teaches better for free
mohamadalikazi 2 years ago 46
@mohamadalikazi Pressure.
Kainaffets 2 years ago
@Kainaffets Its one of the excuses.... Most of them dont like what they re doing. Lot of them dont like to make friends and meet people... they re not friendly people. Some dont even have social skills.... because life was spent reading books.
Proffesors were hired by looking at their GPA and resume'... not their personality and communication skills. Until that continues, my university fees are one of the worst investments ever.
mohamadalikazi 2 years ago
Comment removed
sagenunn 6 months ago
Good tutorial mate. Keep em coming...
JUNOO7 2 years ago
Calm down about him using notepad, you don't exactly have to use it... jeez.
cbvgg 2 years ago
thanks, nice tutorial!
abold 2 years ago
Great tutorial ever in Java. I have been learning Java Programming but this seems really cool. Better than learning at my class in the University.
bhote24 2 years ago
Ello mate, just wanted to say that cuz im puerto rican and that euro accent sounds kool. anyways great tutorial I enjoyed it even though I currently know this information I believe it was good for people currently studying java. Also @ isbcrv maybe its a good thing that he didnt merge all the methods together into one, cuz it shows new users how to create multiple methods in one class and then call them from the main. I agree eclipse should be used but hey the guy likes notepad thats kool :-D
MythTracker 2 years ago
Note: instead of having a bunch of different methods in the robot class - one for turning on, one for turning off, one for displaying attributes - you could also just have one method called 'run' (or whatever you want to call it) and put all the print statements inside. Then just call "run" in the application main.
isbcrv 2 years ago
lol you should use Eclipse instead of Notepad, it will debug these little syntactic typos for you (in additional to doing syntactic highlighting... etc)
isbcrv 2 years ago
@isbcrv
ya i use eclipse and it has all kinds of helpful hints and stuff
Nerfsoldier5 2 years ago
better to speak louder
asd5833 2 years ago 2
You should always include a toString method in an object that overides the default one. This way when you S.O.P the name of the object it does not say it's ram adress
Wylie999 2 years ago
Your missing a couple closing brackets it seems...
WatchMyStarz 2 years ago
This comment has received too many negative votes show
i love your voice, its hypnotising. you sent me into a trance. you make programming exciting. i want to marry you and im not even gay.
JohnnyMarr03 2 years ago
yet...
superpaqman 2 years ago 11
@JohnnyMarr03
agree....somehow......
christalkshowrule 2 years ago
This is assuming your real world analogy, but we are programmers, it is our job to know as much as we can about the tools we use. you wouldn't want to be a mechanic and only know how some of your tools are used would you?
Gambler132 2 years ago 3
Is it me or is a class just a renamed function? You can call a function with function(); right? So assuming a function is declared you can just call(); it. Also your point about not knowing how it gets to the result, blind programing (as I call it) this is a disadvantage because it creates coders that just fob it off, "nah i dunno who it does it". The point of computer programing is to have more control over a computer the minute you introduce abstractions is the minute you loose control.
Gambler132 2 years ago
An object represents a real world object. A class defines an object. A method (or function) is an implementation of how something is done. An object can have many methods.
As for not knowing how some results happen, who cares? That's a good thing! If you were creating an object of a person that drives a car, why do you need to know how the car works? As long as you have your interface (steering wheel etc...) you can drive the car. Who cares what type of engine is contained within the car?
littlebigcomputing 2 years ago
awesome tutorial! Cheers
AAgibsonAA 2 years ago
Thanks for this! Great job
loserssaywhatwhat 2 years ago
Great vid, starting to understand some of this now lol...
Too bad I'm using BV and not Java :S
abovestand 2 years ago
javac is the program that compiles, google might help you find where you can get it
RogueEffect 2 years ago
I assumed that i didn't need any software because you're not in any kind of application yourself, but when I typed in "javac Robot"
it didn't know what javac was
calumhm 2 years ago
You do need one thing. The Java Developers Kit which you can easily find by googling it. It will give your computer the library and ability to compile the java code and the command to compile java code (make it into an executable file) is "javac"
falwk 2 years ago
Thank you.
dav1234f678n 2 years ago
brillantly simple video on what can be a confusing area, I learnt something.
johnboy14 2 years ago
Lol... Man you think that this is all there is to OOD? All he showed you was 1/3 of OOP. There is inheritance, and polymorphism (hardest of them all)...
netsoj 2 years ago
did I imply this was the be all and end all of OOP. No I didn',t your just looking for a opportunity to stamp on someone. I learnt something from the video thats all I said.
johnboy14 2 years ago
You were implying it was easy so incase you didn't know I wanted to inform you of the other 2/3's of OOP.
netsoj 2 years ago
usually this stuff is confusing for learners I was simply saying the video made its contents simple. I'm complimenting the video for its quality, I never stated OOP was easy, how do you get that out of what I wrote.
johnboy14 2 years ago
Best lesson I've ever had on classes. I get confused sometimes with what goes where and how to put it all together in the end. Its nice to see it done.
hagelt18 2 years ago
This helped fill in some gaps from AP Comp Sci. I really feel like I understand some of our assignments a lot better now. 5 stars for awesomeness.
hibbitish 2 years ago
Amazing, well done! You're very good at explaining each step -- subscribed!
iDontSleepiReboot 2 years ago
Hey man you are such a good explainer! Seriously You make it interesting and your funny too Bender haha I watch Futurama. It's is nice that you are posting this info up. You helped me alot I hope you post more tutorials up because this helps alot. Thank.s for the help Like alot of other people on here you helped fill in my gaps of understanding this Java programming language..
TreBros 2 years ago 25
Hey, just learning this stuff myself and have a question. I noticed you don't declare the class or method a public or private value. Is that due to the version, or does it default to public?
BTW. The video has filled some of the gaps in my understanding. Thanks for that.
3GSMAN 2 years ago 3
Damn man you make this look easy. Great explanation and you are a great teacher. I take AP Computer Science and have been using Java for the last 2 years. Great job and I learn new things by watching these.
martinlutherkingIII 2 years ago 3
NO MMMS
nocqpedo10 2 years ago
amazing video, keep up the good work.
blacon9 2 years ago
thx..
ajaypaul007 2 years ago
hw the application.java knows it is link to the robot.java. Is that due to Constructor Robot or saving both files at desktop.
ajaypaul007 2 years ago
ajaypaul007 - the short answer is that it because both the classes where compiled to the same directory, in this example the desktop.
The longer answer is that it is all to do with packages, and a class will know about other classes in the same package.
As the package is not specified for either of the java classes then the default package is assumed by the complier.
If the classes are in different packages the import keyword is used to tell the compiler where to find the class.
MrJavavideos 2 years ago
can u plss.. give us some more tutorial about java, user input in object orriented programming sir..
ty so much
soledadpaloma1 2 years ago
The way you talk makes me drowsy. I wanna go to sleep...
dadomneman 2 years ago
Hey! you are amazing. your tutorials are so easy to understand! it actually makes sense. i actually started learning java programming with these giant and BEYOND complicated books i checked out of the library. that was a failure! and so i am really happy to have found these videos on youtube. Thanks so much!
mayavenkat 2 years ago 5
I find that. they make it sound harder than it is
deadleg22 2 years ago
pleas pleas pleas some one give me the link where i can download this java thanks so much in advance
Adj19888 2 years ago
um... just type it...
FrozenIceCweam 2 years ago
what would u want to do with it if u havent typed it...
Raiden738 2 years ago
omfg thats exactly what im learning in school right now xD :P
Tapourizer 2 years ago
Thanks to this (and your other tutorial videos) I made a Dog object with 5 methods. Some of them required if-else statements and one even required a switch statement. All together it took about an hour and it was my first big-ish java program. And I was able to do all of this with one book and your tutorials; so thanks again!
iHEARTlag228 2 years ago
This video reminds me of the terrible time. I got C in OOP last semester. I messed up in the lab exam. At the beginning I thought I was gonna be easy until it needed database knowledge. lol
sanjak 2 years ago
Very Nice tutorial, thanks!
deathzito 2 years ago 2
well explained
silverstar333 2 years ago 2
Comment removed
IONH4XXOR 2 years ago
'bender' is an instance of the class Robot.
mrcaffein 2 years ago
Great video for those of us that are just starting programming thanx!
silvertyper 2 years ago 3
A-ha! Thanks!!! This is what has stumped me in Java, and I think I've watched this a few times, but I'm started to get it!
All your vids have been a great help! I wish they taught it this way, but they just hand us a heap of reading and expect us to make sense of it. It's NOT rocket science...It just needs to be explained well. THANKS!!!!!
AnitaLife27 2 years ago 2
thx heaps
30621898 2 years ago
What a tutorial must be. FTW aphonik ^^
kinitz1 2 years ago
really good tutorials!!! specially for the international baccelaurette computer science dossiere (IB english diploma in ict)
diegoespinosa 2 years ago
Thanks, I am taking on line courses and this helped me a lot.
kcfrisk 2 years ago
I know how you feel about that programming errors thing. I do a large amount of programming in a different language. Thanks alot!
EneilShade 2 years ago
I am going to sleep
SpicyHam 2 years ago
same
rade134 2 years ago
thank you, you helped me quite alot on this :) keep up the good work!
souffia 2 years ago
It´s really useful, I´m from Brasil and I like a Lot
Thx
Leonardo.P
leonzeppelin 2 years ago 4
cara em inglês e brazil :)
emperusDS 2 years ago
Thanks, good tutorial. I've never really got classes and that kinda stuff..this has helped.
Also, just how relaxed are you? xD
funkyewan 2 years ago
am I the only one who notices how funny his voice is lol ?
iLoveValium 3 years ago
ah u have 2 too many digits lose them it works ;)
britishgoose01 3 years ago
ive copied this but it seems to give an error in Application under:
Robot bender = new Robot says error under first bender
any ideas
britishgoose01 3 years ago
great job i just cant hear anything, with out headphones!! i am using a laptop, anyway well done 5 stars
mickmos 3 years ago
keep up the object oriented demonstrations they really help
mkadiri05 3 years ago
I'm a beginner in java and your tutorials are of a great help.thanks!!!! :)))
XxXcordialXxX 3 years ago
nicely done! ^^
theNISK 3 years ago
really nice tutorials
herrpinkie 3 years ago
robot bender lol nice tutorial by the way
nameless12345 3 years ago
good tutorials. :-)
chaniwie 3 years ago
When you do the command, java, you have to only put the class that you declare at the beginning of your program. By not putting the file extension at the end, you shall be successful in executing your program.
TheBatchGuy 3 years ago
I keep getting an error Exception in thread "main" java.lang.NoClassDefFoundError ...any ideas?
CamiloSanchez1979 3 years ago
you are probably trying to run the "Robot" code you wrote, you're not supposed to run it, just compile it. then run the second piece of code.
theNISK 3 years ago
WELL DONE!
AzzSimon 3 years ago
Great work! Thanks for all the help!
someguy5554 3 years ago
i have a question when i try to run this it gives me this error:
"The method turn on is not static, and cannot be accessed in this static"
???
kortyelldavis 3 years ago
useful, thanks.
askquestions 3 years ago
the best i have seen so far!
great work and thank you
Khemrajsingh 3 years ago
ooo good and dont forget to compile :)
bloodxsmite1 3 years ago
how to get a value at run time like how we are getting in c++ using ci n>>a;how to get in java. if any buddy know pls reply me
saddamdon 3 years ago
This has been flagged as spam show
҉̵̞̟̠̖̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̐̑̒̓̔̊̋̌̍̎̏̐̑̒̓̔̿̿̿̕̚̕̚͡ ͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿̿̚cancer ҉ ҉҉̡̢̡̢̛̛̖̗̘̙̜̝̞̟̠̖̗̘̙̜̝̞̟҉ ̒̓̔̕̚ ̍̎̏̐̑̒̓̔̕̚̕̚ ̡̢̛̗̘̙̜̝̞̟̠̊̋̌̍̎̏̚
D0NEIT4THELULZ 3 years ago
Hi Maestro ... :)) Thank you for your tutorials.
I just want to say that I have difficulty understanding the function of MAIN class among other things.
I just started studying OOP and wondered if you can give me a web address or DVD, that explains the fundamental concepts of OOP with Java.
I'll keep watching your tutorials and thanks again, Seth
saddamdon 3 years ago