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.
@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.
@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.
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...
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? =]
@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
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!!!!
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!!!!
@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
@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
@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.
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
@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.
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."
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.
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?
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
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.
@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.
@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
everyone noticed the []s moving in the next video but nobody noticed it in this one...why?
Frogfish999 6 hours ago
lol, I already know most of this basic stuff but your videos are too awesome to turn away from ;)
Frogfish999 6 hours ago
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.
padwalvikram93 10 hours ago
These lessons help me so much, much appreciated
humanoid361 10 hours ago
@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 1 day ago
@Keon31415 oh i got it now thanks for the reply
macintosh082 1 hour ago
Can't you say public class apples extends tuna?
macintosh082 2 days ago
I want to work with stephanie :)
roflcopters1122 5 days ago
tuna...apples...bacon and cheese...are you morbidly obese?
roflcopters1122 5 days ago
@roflcopters1122 ive seen one of his V-logs he is not obese
daytdog 4 days ago
Class within a class..... O_o ....class-ception! O_O
Tehandpickid 5 days ago
@lord123abc
I think you mean 'Thumbs up if you are 2 years old.'
cpu3ghzman 6 days ago
@cpu3ghzman Lol
daytdog 4 days ago
Good vid Bucky........u helped me out dude. c-YA
G0W0LVERINES 1 week ago
You must like food a lot...
SuperCheezyGuy 1 week ago in playlist Java class
20 people don't like bacon and cheese
nodocomun 1 week ago in playlist Java (Beginner) Programming Tutorials 2
Stephanie needs to go back to the kitchen
JaKyHatsune 1 week ago
God Bless You
TheIslamiq 1 week ago
my while count is still running....
11011101111 1 week ago in playlist Bucky's Java Tutorial 2
@11011101111
LoL hahaha
Close eclipse and :P start again with new project
TheIslamiq 1 week ago
@TheIslamiq
Or he/she could just click on the 'terminate' button in the terminal at the bottom
tylerkovacs1 1 week ago in playlist Java (Beginner) Programming Tutorials
@tylerkovacs1 Yeah you are right but its more easy for he to cLOSE:D every one know how to close
Best Regards
TheIslamiq
TheIslamiq 1 week ago
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
squidward2016 1 week ago in playlist java 5
we all now what class stephanie made........if you know what i mean :D
anihilatore 1 week ago
Thumbs up for Bacon and Cheese
UKL33TGaming 1 week ago
Very awesome, much more useful than my professor.
JDuclos 1 week ago
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 1 week ago
@Felix9801
try felix3 felix3Object = new Felix3();
chockie1om 1 week ago
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 1 week ago in playlist More videos from thenewboston
@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.
SepradistPhantom 1 week ago
@Xenocide007 Classes and anything object-oriented is critical to know in a programming language like Java.
JScodeZ 1 week ago
or make simpelMessage to static and write in main tuna.simpelMessage()
gustavboll1 1 week ago
Good thing apples and tuna work in java, cos they certainly don't work in a sandwich
TheViolinCalamity 2 weeks ago in playlist Java (Beginner) Programming Tutorials 3
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...
XwatchmyvidsX 2 weeks ago in playlist Fler videoklipp från thenewboston 2
@ thenewboston
couldnt you also say : "public class extends tuna" ?
MrSpaceMonkey100 2 weeks ago
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? =]
DefinitLeiMe 2 weeks ago
Thumbs up if you use VIM
MrDietotenhosen 2 weeks ago in playlist Java (Beginner) Programming Tutorials
You are great! Thanks!
lanepulcini 2 weeks ago
is simpleMessage a fixed word or i can use whatever i want in my method???
lyrrad999 2 weeks ago
@lyrrad999 if you declared "public" you can use it all over the program...
joshuademoraes 2 weeks ago
why does he not write static in his tuna class?
misterolichip 2 weeks ago in playlist Java (Beginner) Programming Tutorials
@misterolichip because tuna class needs to be intanced in main class...it's a rule I think..
joshuademoraes 2 weeks ago
@misterolichip It is not the main class.
Spanone2 2 weeks ago
@Spanone2 so we write static only in the main class?
misterolichip 2 weeks ago
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 3 weeks ago in playlist Java (Beginner) Programming Tutorials
@QwertyCharlieFourate I don't think so, if it is ruby, then i think yes.
mendozajanrae 2 weeks ago in playlist Java (Beginner) Programming Tutorials
@mendozajanrae oh ok. kl thanks :)
QwertyCharlieFourate 2 weeks ago
thumb up is your class already was tuna
KleinKaptein 3 weeks ago in playlist Java (Beginner) Programming Tutorials
20 people got confused on Hello World
honda3gold 3 weeks ago 51
@honda3gold Epic
CaNadless 1 week ago
your the best bro...God Bless
blkbearh2o 3 weeks ago in playlist Java (Beginner) Programming Tutorials
@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 3 weeks ago
@UltraDrago2000 how old r u im 11 planning to be a programmer in high school
aunikca 3 weeks ago
@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.
QwertyCharlieFourate 3 weeks ago in playlist Java (Beginner) Programming Tutorials
Task of the episode:
Built a sentence with 1 word per class.
Have fun ;D
iWindBlade 4 weeks ago
THUMBS UP IF YOU'RE HERE BECAUSE OF MINECRAFT!
renanramos95 1 month ago
I just started getting into java for my upcoming AP class, and i'd have to say, these tutorials are really good! Nice job!
ACoolMoose 1 month ago in playlist Java Programming Tutorials
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?
devilazpl 1 month ago
Thumbs up if you're tired of people asking for thumbs up.
TheSamLegacy 1 month ago in playlist Java Programming Tutorials
@TheSamLegacy i'm going to fucking slap you in the face
FusionGTZ 1 month ago in playlist Java Programming Tutorials
why tuna and apples?
jsf360 1 month ago
thumbs up if you want to make a game like minecraft
lord123abc 1 month ago in playlist Java Programming Tutorials 26
@lord123abc lol, you think thats easy?
Telladriel 3 weeks ago
This has been flagged as spam show
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!!!!
mzhnj54 1 month ago
VERY UNDERSTANDING OMG. HE IS BETTER THAN MY SCHOOL PROFESSOR
mzhnj54 1 month ago 2
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!!!!
tryingmybrain 1 month ago in playlist Java Programming Tutorials
How would stephanie get out of the kitchen in the first place?
asgerkill 1 month ago in playlist Java Programming Tutorials 2
i use dreamveawer
askeching 1 month ago
Sounds like lunch.
plutoamun 1 month ago
^_^
dddddddd92 1 month ago
im addicted to java becuz of you
dddddddd92 1 month ago
i just tried "tuna.simpleMessage();" and it worked without the part before
Iboshido 1 month ago in playlist Weitere Videos von thenewboston
Such a better way of explaining this than what my teacher told me. Thanks so much.
WWoodyW 1 month ago
i hate how i learn what he shows but the last video is gone from memory
idk6752 1 month ago
What is the most tutorials anyone has gone through in one day?
empeypat 1 month ago
Tuna and apples sound awful
empeypat 1 month ago
Why won't mine work? I did everything he said. Is it different if you're using NetBeans?
Matthmatt1213 1 month ago in playlist Java Programming Tutorials
@Matthmatt1213 No, it works exactly the same in Netbeans.
HippieMagic 1 month ago
@HippieMagic Thanks
Matthmatt1213 1 month ago in playlist Java Programming Tutorials
@HippieMagic But it still doesn't work :( Can you please explain why, *hopes that this person knows a magical solution to coding*
Matthmatt1213 1 month ago in playlist Java Programming Tutorials
@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.
HippieMagic 1 month ago
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
DevilOnHog 1 month ago
bucky you rock i earned $400.00 selling software :)
NICKcoolize 1 month ago
@NICKcoolize WOAH!
ThexKezza 1 month ago in playlist Java Programming Tutorials
@NICKcoolize WOW What type of software if you dont mine me saying =)
jamie1051 1 month ago in playlist Java Programming Tutorials
@NICKcoolize BAWS :DD
VirtualCurry 1 month ago
Shit just got serious!
nightblade1992 1 month ago
dunno has this been already asked but how can i call a paint from another class? is it even possible?
e.g. tunaObject.draw(); ?
m0rfix 1 month ago
@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
Bomberjack01 2 months ago
When I Try: class MyClass
I Get Error: identifier expected
thecomputerkid11925 2 months ago in playlist Java Programming Tutorials
Thumbs Up If you can't watch the video :'(
thecomputerkid11925 2 months ago in playlist Java Programming Tutorials
Thumbs up if you think buck was hungry whilst making these tutorials :P
Zooman989 2 months ago
I think he's hungry...
thebigbang100 2 months ago
tuna keeps popping up in the tutorials, it might mean something!
agcummings11 2 months ago 41
Why use a object idiot do apples.simpleMessage(); objects use 16 bytes of data...
OfficialEnergizedPk 2 months ago
@OfficialEnergizedPk It's obvious you don't know what you're talking about since your watching his tutorial.
You're probably a booklearned faggot.
LastAmerican6 1 month ago
thumbs up for bacon and cheese!!!
@5:03
SweetDeamNextNight 2 months ago 3
Comment removed
SweetDeamNextNight 2 months ago
Thumbs up if you use eclipse, thumbs down if you use netbeans
xJustas 2 months ago 121
@xJustas
JGrasp
conormurray1995 1 month ago in playlist Java Programming Tutorials
@xJustas I use BlueJ ._.
6dark6alex6 4 weeks ago in playlist TheNewBoston Java Playlist
@xJustas NetBeans is crap.
TheExplodingPumpkin 4 weeks ago
@xJustas Pft, that's the baby editor war. Real men fight about vim v Emacs... but yeah, i use eclipse ;)
SepradistPhantom 3 weeks ago
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)
Abang010483 2 months ago
thank you
chaiyaram 2 months ago
How does the apples class know the location of the tuna class file?
stri8ted 2 months ago
@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.
ae16weirdo 2 months ago in playlist Java Programming Tutorials
Why isn't Stephanie in the kitchen?
Mariuskalvo 2 months ago
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
XxMichx 2 months ago
I am 12
mpboomslang 2 months ago in playlist Java Programming Tutorials
@mpboomslang I'm 10 I built an epic website, I'm learning Java! lol
ashadow0309 2 months ago
Can you use variables from other classes in a class without typing tuna tunaObject = ...
mpboomslang 2 months ago in playlist Java Programming Tutorials
@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.
C0GSniper 2 months ago in playlist Java Programming Tutorials
why cant we use methods in the same class?
abiwtf 2 months ago
why do u use (String []args ) sometimes else (String args[])
abiwtf 2 months ago
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 2 months ago
@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."
C0GSniper 2 months ago in playlist Java Programming Tutorials
Comment removed
BellaFrancesca2013 2 months ago
I love you bucky, this is awesome.
RedofYellow 2 months ago in playlist Java Programming Tutorials
Can you do like
tuna tuneNotobject = new tuna(); (Something instead of object...)
epicKiipa 2 months ago in playlist Java Programming Tutorials
Java is really easy when u got a good teacher :)
ThePaja2000 2 months ago
i want to do computer science
JustXaXMlg 3 months ago
Im studying computer science, not minecraft :P
millsy1804 3 months ago
very well explained....thanks!
Rapido7788 3 months ago
thumbs up if you are not here because of MINECRAFT
remixxproduction 3 months ago 167
@remixxproduction
im here because i wanna fucking pass java in college
TheDemonStr 1 month ago 13
@TheDemonStr
yeah, java is frustrating.
i'm working on my case study now and it's a total paranoia.
MrTripi17 1 week ago
Comment removed
StalkingMyMom 1 month ago in playlist Java Programming Tutorials
@remixxproduction MINECRAFT
magstrike105 1 month ago
its 5:40 am, and i am learning programming ¬¬
juliolokodavida 3 months ago
@juliolokodavida I've been up for 30-2 hours. learning Java. ¬¬
Megadeth6 2 months ago
Sounds like int he beginning of the video at 2 seconds he says "Sup guys this is Fuck You...". 0.o
Mlackey94 3 months ago in playlist Java Tutorials
im italian and im understanding everythings! thanks! :D
mav89 3 months ago
This has been flagged as spam show
19 people where homeless and had no food
iananimatorpro 3 months ago in playlist Java Programming Tutorials
Comment removed
iananimatorpro 3 months ago in playlist Java Programming Tutorials
I also want to built a class...DO i NEEd cement for this or an IDE???!!!:):):)
zjuet40 3 months ago
What is dimple message:}
zjuet40 3 months ago
very helpful
jcbrown61 3 months ago
I learn more here than at college, and a lot quicker too lol
3EyedPanda 3 months ago in playlist Java Programming Tutorials 5
Thanks a lot man! Your vids are amazing!
rampage241 3 months ago in playlist Java Programming Tutorials
Apples, Tuna, Bass and Bacon and Cheese. These are his favourite food.
xdesmondx95 3 months ago in playlist Java Programming Tutorials
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)
TheSpadeNamedKade 3 months ago in playlist Java Programming Tutorials
can u program something like minecraft
micha222999 3 months ago
@micha222999 yea you can because minecraft was made in java.
LIR401 3 months ago in playlist Java Programming Tutorials
WTF are those minecrafts ? for god sake
lorentzos20 3 months ago
man.... what is it with minecraft mods and people around my age??
TheLifeofGaming 3 months ago in playlist More videos from thenewboston
these vids are so good java is so clear now
ohcrap71 3 months ago in playlist Java Programming Tutorials
@gears146 12 XD!!!
MrDragonslayer223 3 months ago in playlist Java Programming Tutorials
Thumbs up for being a naive teenager who wants to learn programming! :D
MrStrokita 3 months ago 236
@MrStrokita after watching the first few vids i decided i am now a naive teenager who will stick to level design or texturing...
dareapa1 2 months ago in playlist Java Programming Tutorials
@MrStrokita wow that's a lot of competitors
otamanlvhs 2 months ago
ooops
i messed up on ONE word xD so it didn't work
Ronster2020 3 months ago
OMG THE CODE ISN'T WORKING FOR MAH COMPUTER!!!! D:
Ronster2020 3 months ago
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.
jacobrb95 3 months ago
what if you wanted to use the whole class, with out getting rid of "public static void main.. "etc?
SPlRO 3 months ago in playlist More videos from thenewboston
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
priyeshp1 3 months ago in playlist More videos from thenewboston
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?
tuppens2007 3 months ago
simpe messsegs, dimple message, Bacon n cheese. lmfao
trueredexe 3 months ago
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
Sinkillas 3 months ago in playlist Java Programming Tutorials
I was the 1337th like, i win. :D
circo0087 3 months ago in playlist Java Programming Tutorials 2
Im a programming major in college and YOU teach me more in 10 mins than my Java Prof. does in 90
THANK YOU BUCKY
SumBlackGuy508 3 months ago 2
Hey Bucky, If we use the multiple class like this then whats the logical difference between inheritance? Is it only and extend keyword?
writetoalimkhan 3 months ago
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! :-)
luvitluvitbaby 3 months ago
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.
electromaster9 3 months ago
So much minecraft...I am only here because I ran out of C++ tutorials to follow :(
charbeanmcbean 4 months ago in playlist Java Programming Tutorials
@calmduck25 You won't get any where with spelling like that...
MinecraftCreators 4 months ago in playlist Java Programming Tutorials 3
this playlist is filled by kids playing/modding minecraft
TheMaterboy5 4 months ago in playlist Java Programming Tutorials 2
@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.
chrisall76 4 months ago in playlist java tutorials
lol this is filled with 13 and 14 year olds who want to mod minecraft xD
gears146 4 months ago in playlist Java Programming Tutorials 92
@gears146 includes me and im 11(and create a game XD)...
vukodlak2000 3 months ago in playlist Java Programming Tutorials
@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
MatttWardle 3 months ago
@gears146 nope, Im 14 and im here in the hopes to start creating my own unique games in java.
killhimordie 3 months ago in playlist Java Programming Tutorials