Oh and I want to run a program with an array, so I am solving for the odds and evens and then creating new arrays with those numbers. How do I do this when I have two files??
So System.out.println(counter + "/t" + bucky[counter]; means that whatever counter is, it puts it in place of counter and prints the array. NOW I UNDERSTAND!!!
Bucky I love you're tutorials and they're really helping out with Java, but I learned it's better coding style to do int[] bucky = {} instead of int bucky[] = {}
Anyway, just wanted to point that out, nice job on these tutorials man.
@applechunks32 cuz you write stupid things trying to be funny but you fail! "or ( int buckyvideoswatched = 28; StillNotAProgrammer || StillHaven'tKilledMyself; buckyvideoswatched++)" wtf is that ?
lets go ahead and make a program that permanently removes 1 banker from this planet everytime I cough and 2 everytime I fart. have a mess around an see what you come up with.
hey man i really need help!!!!!!!!!!! im taking university level programming in grade 11 using ready to program java and were doing arrays right now. I dont know what im doing cause i didnt take the pre request course that we needed/recommended. is there any way you could use ready to program java cause coding is a little different in-terms of terms :S
I figured out the stupid 'counter cannot be resolved error', but now I cannot get the columns to lineup properly. The values for the value column are too far to the left.
Thanks so much!!!! i didnt get it at first about 1-4 months ago and i went on and got lost! but then i came back and found YOUR tutorials.....THANK YOU
@SplendidTutorials It's possible he's only typing it out in full, for our benefit. Beginners may get a little confused when an entire line of code appears out of nowhere.
I don't see why people skip array tutorials, since array is probably the most important thing in games, for example in minecraft map generator. (presuming most people start java coding to make games)
bucky i have a tip to help you teach use things you have taught us a lot and tell us what they do name everything so that we keep getting reminded of them
Honestly, it would be more impressive if you were extremely elderly and could do Java. Young kids have more and more technology in their lives at an early age, so it's not surprising, really. Again, old people who can hack = awesome.
great! BUT I dont understand why at the end of code bucky[counter] get the values of the array! I mean I dont understand how the [counter] get the values of the array, please help!
@anderzom bucky[counter] means that the value of counter references an index of the bucky array. EXAMPLE: when counter is 0, bucky[counter] == bucky[0], and so forth with all the values.
@anderzom Okay, let me walk you through what happens there.
int bucky[] = {10,20,30}; means that bucky[0] = 10, bucky[1] = 20, and bucky[2] = 30.
The for loop has an iteration for each index of bucky, which means that the for loop will be worked through 3 times, since you have three indexes of bucky.
The first time the for loop is iterated, counter is 0, bucky[counter] is the same as bucky[0], so it prints the VALUE of bucky[0] which is 10.
@keown83 Hi there! If you check out the second part of this tutorials you will get the answer. But I recommend you to check out the first one as well to get a full picture of it if you are new in programming.
im 11 and im coding basic java,intermediate batch,some c,some c++,some javascript,basic html suck on that stupid "computer" classes all you guys teach is well nothing bucky is my internet savor lol
So if i was less than 15 years old and watched Java tutorials, that would imply I'm special because i know programming (to a small extent) and im not an adult?
I'm 14 and have been learning coding languages since about 12 1/2. I can now do atleast the fundamentals of Java, c++, html, xhtml, css, lua, and visual basics. Go young people!
Not really, HTML CSS and javascript should be really easy and AS2 and AS3 are related to eachother, they were pretty easy too and I don't really know everything I Could do on them
@TheScars75 Knowing code, and knowing a little bit of code are two different things entirely, besides stuff like html and javascript are about the easiest, most simple things to learn. Most languages are simple enough that one would have no reason to brag, try learning something like assembly and then you can brag all you want
@c0decub look, i'll have you know that i don't "copy and paste" Java i actually can make lots of things FROM SCRATCH. and what is a skiddie? also just because i'm only 13 does not make me a stupid moron! teenagers aren't stupid you just assume that.
@c0decub Hey, I just want to start off by saying that you have no idea what people are capable of. Sure, he may just be a bluffing wannabe, but you don't know that. Who knows if he may grow up to be a great programmer.
What program are you using with java?
I have JCreater...do you know anyone using that?
Oh and I want to run a program with an array, so I am solving for the odds and evens and then creating new arrays with those numbers. How do I do this when I have two files??
MoeGreenRoxz 1 day ago
@MoeGreenRoxz he is using eclipse
joonas2345 20 hours ago
how do u get the console display???
sumptergoku 2 days ago
@B1KMusic Minecraft.
arielschon11 2 days ago in playlist Java basics
So System.out.println(counter + "/t" + bucky[counter]; means that whatever counter is, it puts it in place of counter and prints the array. NOW I UNDERSTAND!!!
SuperCheezyGuy 4 days ago in playlist Java Tutorials (thenewboston)
eighteeeeeeeeeeeeeeen...
glampkoo 5 days ago
I'm surprised the top comment isn't about minecraft :/
B1KMusic 5 days ago
Great video, you should be a prof
Andrewtmcb 6 days ago
How I can add int numbers to Array from a method ? like public void AddArrayNum(int ArrayS)
TheDemonStr 1 week ago
Everythime I watch the video, I like it because I can skip to the next movie realy quik, but he totaly deserves it!
ecence123 1 week ago
Comment removed
misterolichip 2 weeks ago in playlist Java (Beginner) Programming Tutorials
so far, your videos are amazing :) Thanks
alyehab 3 weeks ago
oops, i missed out the o in counter!
bad mistake to make
QwertyCharlieFourate 3 weeks ago in playlist Java (Beginner) Programming Tutorials
i wish you were my computer science teacher lol you make it so easy to understand.
MoNsTrOsItY18 3 weeks ago 3
Bucky I love you're tutorials and they're really helping out with Java, but I learned it's better coding style to do int[] bucky = {} instead of int bucky[] = {}
Anyway, just wanted to point that out, nice job on these tutorials man.
TheLawG14 1 month ago in playlist Java Programming Tutorials
BUcky bucky the duckface
TheDemonStr 1 month ago
java is missing foreach loop?
devilazpl 1 month ago in playlist Java Programming Tutorials
Comment removed
devilazpl 1 month ago in playlist Java Programming Tutorials
for ( int buckyvideoswatched = 28; StillNotAProgrammer || StillHaven'tKilledMyself; buckyvideoswatched++)
applechunks32 1 month ago in playlist Java Programming Tutorials
@applechunks32 System.out.println("applechanks32 is stupid")
zdape 1 month ago
@zdape What a swell fellow.
applechunks32 1 month ago
This has been flagged as spam show
@applechunks32 cuz you write stupid things trying to be funny but you fail! "or ( int buckyvideoswatched = 28; StillNotAProgrammer || StillHaven'tKilledMyself; buckyvideoswatched++)" wtf is that ?
zdape 1 month ago
@zdape Missed out the semicolon to end your statement!
spid3rB4t 2 weeks ago in playlist Java (Beginner) Programming Tutorials
honestly i found the array tutorials very easy...
KapowPower 1 month ago
@KapowPower
try do exercises that will be difficult lolol
TheDemonStr 3 weeks ago
lets go ahead and make a program that permanently removes 1 banker from this planet everytime I cough and 2 everytime I fart. have a mess around an see what you come up with.
slam1na 1 month ago
lol bucky, close tuna.java ffs :p
tonilocoable 1 month ago
last line
why did he write bucky [ counter ]
why counter?
please explain
Hidokaka1 1 month ago
@Hidokaka1 cuz thats the for loop counter... so it goes like bucky[0], bucky[1], bucky[2], bucky[3], bucky[4], bucky[5] and so on
Ronaldoo91 1 month ago
@Ronaldoo91 holy mother !! how did I miss that
thnx alot ...
Hidokaka1 1 month ago
@Hidokaka1 no worries bro, anytime
Ronaldoo91 1 month ago
i understood a lot...great tutorial
TillEveryOneCanHear 1 month ago
hey man i really need help!!!!!!!!!!! im taking university level programming in grade 11 using ready to program java and were doing arrays right now. I dont know what im doing cause i didnt take the pre request course that we needed/recommended. is there any way you could use ready to program java cause coding is a little different in-terms of terms :S
SporcMonkey 2 months ago
@SporcMonkey im in the same situation as you im a grade 10 taking gr 11 comp sci, this stuff works in ready to program java
necroking14 2 months ago
Score board:
public class apples { public static void main(String[] args) { System.out.println("Rank\tScore"); int bucky[] = {0, 41, 32, 4, 2}; for(int counter = 1; counter < bucky.length; counter++) { System.out.println(counter + "\t" + bucky[counter]); } }
}
daymond12345 2 months ago in playlist Java Programming Tutorials
I figured out the stupid 'counter cannot be resolved error', but now I cannot get the columns to lineup properly. The values for the value column are too far to the left.
forexdragon 3 months ago
@forexdragon To solve that error, just define counter outside the for
int counter;
for counter = 0; bla bla bla
zVenFTW 2 months ago
@zVenFTW
Thanks, I tried that already and it didn't work. I was missing a semi-colon somewhere. I forget exactly, but I fixed it.
forexdragon 2 months ago
@forexdragon Oh, well, congratulations :P
zVenFTW 2 months ago
@zVenFTW
Haha thanks. It was very frustrating. Also, for some reason I had to add an extra "\t" to get the data to line up properly in the columns.
forexdragon 2 months ago
Why am I getting a 'counter cannot be resolved' error on line 7? The print statement. I have rewrote it 3 times exactly and it is still wrong.
forexdragon 3 months ago
This has been flagged as spam show
@forexdragon To solve that error, just define counter outside the for
int counter;
for counter = 0; bla bla bla
zVenFTW 2 months ago
I broke it :/
TheKaosNano 3 months ago
Awesome tutorial!
sinbadlook 3 months ago
JUMPED?
TheMarvinglennlacuna 3 months ago
@itouchmaniac25
for (int counter = 10 ; counter > 0 ;counter -- )
Bytewrecker 3 months ago in playlist Java Programming Tutorials
Hey @thenewboston , what would the for loop look like if I was going to make a countdown array from 10 to 1
itouchmaniac25 3 months ago
i made a line down the middle with |
retarturtle 3 months ago in playlist More videos from thenewboston
I'm so grateful for those little ''why this works'' at the end. Helps alot!
Sonictunic 4 months ago 2
for System.out.println();
type: syso
press CTRL + SPACE
theXminecrafter 4 months ago
@SplendidTutorials WHAT!?!? You say this NOW !?!?! I gotta go back in time to the first video to warn the others!
FalconPiss 4 months ago in playlist Java Programming Tutorials 3
@FalconPiss what was his comment?? ii cant find it!
theXminecrafter 4 months ago
@theXminecrafter You can type "syso" then press CTRL + SPACE to get System.out.println()
FalconPiss 4 months ago 3
This has been flagged as spam show
i wanna KNOW if there any way to make a link between java program that i make and AutuCAD file ...... plz i need this very much .. ;)
NadineEnnab 4 months ago in playlist arcgis
Comment removed
NadineEnnab 4 months ago in playlist arcgis
@SplendidTutorials
Wow I rly like this :D thought it was a joke at first though ^^
MrThomasPJensen 4 months ago
@SplendidTutorials
What is this? Witchcraft?!
TheZimius 4 months ago in playlist Java Programming Tutorials
tuna.java XD
manymanybullets 4 months ago
@r3kikzta7teen a type of cheese
madr0ry 4 months ago in playlist Java Programming Tutorials
Great wrk..!!! two thumbs up!
ur a grt teacher!!
InoshGT 4 months ago
@SplendidTutorials Or even easier: type "sout" then press TAB.
BoomBucks 5 months ago
@BoomBucks hmm doesn't work for me (using eclipse) :(
TheCarmacon 4 months ago
@TheCarmacon Sorry, forgot to say, only works in NetBeans
BoomBucks 4 months ago
@BoomBucks wow, that was a quick reply :) thanks mate!
TheCarmacon 4 months ago
@TheCarmacon You're welcome :)
BoomBucks 4 months ago
He could probably make me understand Chinese.
edotts28 5 months ago 3
He could probably make me understand Chinese.
edotts28 5 months ago 30
@edotts28 Ni Hao edotts28.
Wo shi Fredrik laoshi.
NaturalisPhaenomena 6 days ago in playlist Java (Beginner) Programming Tutorials
@SplendidTutorials I'm pretty sure he'd know about that, he probably doesn't do it for our benefit.
Have you not noticed he right click -> copy: right click -> pastes? (Even though he obviously knows cntrl c -> cntrl v)
He probably doesn't want any confusion... and thus does things in a very simple, straight forward manner.
Thetimpson 5 months ago 60
@Thetimpson hahahah
Andrewtmcb 6 days ago
@SplendidTutorials I love you
death2link 5 months ago in playlist Java Programming Tutorials
System.out.print("Bucky The Grappler");
chanchaners 5 months ago
@SplendidTutorials
thanks, you rescued 2 years of my life ;)
Genuigr 5 months ago
Guys! if you don't want your Index to start with zero; Enter this in the last line of code:
System.out.println(1+counter + "\t" + WhateverYourArrayNameIs[counter]);
Thumbs up if you Got it :)
Bouncertt 5 months ago
4:51 ..
how big your di...ehm array is ..
guess what he was thinkin ;)
Gizmotrold 6 months ago
Comment removed
Gizmotrold 6 months ago
Thanks so much!!!! i didnt get it at first about 1-4 months ago and i went on and got lost! but then i came back and found YOUR tutorials.....THANK YOU
BSC148 6 months ago
@SplendidTutorials It's possible he's only typing it out in full, for our benefit. Beginners may get a little confused when an entire line of code appears out of nowhere.
WesThorburn 6 months ago
@SplendidTutorials Thank you! Thank you! I was getting tired of doing that myself. I didn't know there was a shortcut!
DarkYuan4 6 months ago in playlist Java from thenewboston
i get it...
Aaronster8 6 months ago
I don't see why people skip array tutorials, since array is probably the most important thing in games, for example in minecraft map generator. (presuming most people start java coding to make games)
kmncztms 6 months ago 67
@kmncztms Minecraft was made in Eclipse :3
daymond12345 2 months ago in playlist Java Programming Tutorials
@kmncztms
actually u're presuming wrong. not even half of ppl start java for making games.
but anyway, anyone should learn arrays, its easy and helpful.
tonilocoable 1 month ago
@kmncztms heh, I specificly went to the array tutorials because I know most basic stuffs already.
Decodeish1 1 month ago in playlist Java Programming Tutorials
i also dont know why to skip that because it´s not really difficult i think
JakobRobert00 1 month ago
@SplendidTutorials <3<3<3
ThyCupRunnethOver 6 months ago
bucky i have a tip to help you teach use things you have taught us a lot and tell us what they do name everything so that we keep getting reminded of them
MrGustav99 6 months ago
the 0th index LOL
YourSovietComrade 6 months ago
Comment removed
cman011 6 months ago
Why did you put counter in bucky[counter]?
dtgonzalez1 6 months ago
IVE GOT AN IDEA! Go to sleep with this video on loop!! i will be theNEWERboston
GeezerGameGuideZ 7 months ago
@GeezerGameGuideZ Haha, that was a good one! And how did it went? xD
superdatamaskin 6 months ago
@superdatamaskin thets just say ino Programming more than thenewboston, :L
not realy, lol. im just going over these tuts over and over again trying to remeber
GeezerGameGuideZ 6 months ago
I HAVE SEEN SO MANY JAVA TUTORIALS! AND YOU WAS THE FIRST TO LET ME UNDERSTAND THIS PART!!!!!!!! THANK YOU MAN YOU ARE THE BEST!!! :D
Playsim1234 7 months ago
Honestly, it would be more impressive if you were extremely elderly and could do Java. Young kids have more and more technology in their lives at an early age, so it's not surprising, really. Again, old people who can hack = awesome.
Daim0th 7 months ago
@Daim0th I can see it now. Granny hacking pacman or something, saying "When I was your age this was our Call of Duty!"
zerohourkevin 7 months ago
JCreator will not pop up the ".length" option like Eclipse does...
matthewdoucette 7 months ago
great! BUT I dont understand why at the end of code bucky[counter] get the values of the array! I mean I dont understand how the [counter] get the values of the array, please help!
anderzom 7 months ago
@anderzom bucky[counter] means that the value of counter references an index of the bucky array. EXAMPLE: when counter is 0, bucky[counter] == bucky[0], and so forth with all the values.
blizefy 7 months ago in playlist Java Programming Tutorials
@blizefy thanks but! I still confused beacuse, see this example:
int bucky[] = {10,20,30};
for (int counter=0; counter < bucky.length; counter++) { out.println(bucky[counter]);
}
why the render of the print show the 10,20,30
I have in mind this result 0,1,2 why counter get the values inside bucky
thank you!
anderzom 7 months ago
@anderzom Okay, let me walk you through what happens there.
int bucky[] = {10,20,30}; means that bucky[0] = 10, bucky[1] = 20, and bucky[2] = 30.
The for loop has an iteration for each index of bucky, which means that the for loop will be worked through 3 times, since you have three indexes of bucky.
The first time the for loop is iterated, counter is 0, bucky[counter] is the same as bucky[0], so it prints the VALUE of bucky[0] which is 10.
blizefy 7 months ago
how to calculate average in table....
example:
month : jan feb mar apr may june
number of units : 191 21 121 121 121 121
assume the month and number of units in table.
how to find average n lowest month sales..
Kyuoera 7 months ago
im minus 3 years old and i can do this! woah!!!!!!
simba90s 8 months ago
im pretty sure \t stands for tab
CrewOfMasters 8 months ago
Very detailed tutorials. You have helped me a lot. I have already made over 20 applications. Thanks.
FreePKMNWalkthroughs 8 months ago
This has been flagged as spam show
you are the only one who can teach me programming
MANUDAREable 8 months ago
you are the only one who can teach me programming
MANUDAREable 8 months ago
Im a cat and I can do this...you all suck!
Blinxkitty 8 months ago
I'm still a fetus and I can do java!
LyriiczBoii 8 months ago
@LyriiczBoii ha that's a good one +1
EnClash 8 months ago
@Tolfing Funny thing is I just slapped my friend with a scorching hot piece of pizza. hahahhaa
XRenkoX 8 months ago
@SplendidTutorials WOW that was honestly really useful. Glad I saw this comment.
NehiThompson 8 months ago
Im only 4 bitches!
kcolin6701 8 months ago
i'm new in Java programming. may i know what software in the clip is & where can i get it?
keown83 8 months ago
@keown83 Its eclipse he shows it in his third java tutorial
TheTwistertjuh 8 months ago
@keown83 Hi there! If you check out the second part of this tutorials you will get the answer. But I recommend you to check out the first one as well to get a full picture of it if you are new in programming.
MrLoui74 8 months ago
Man, Bucky, if only you were around a few years back. I could have showed off programming skills in grade school!
canadia7x 8 months ago
lmao!! I thought this was a javascript tutorial part 28 until I saw the IDE :3
willzurmacht 8 months ago
alright lets go ahead and press 4.
GreaterIsOurGod 9 months ago
im 11 and im coding basic java,intermediate batch,some c,some c++,some javascript,basic html suck on that stupid "computer" classes all you guys teach is well nothing bucky is my internet savor lol
basketballdude138 9 months ago
@basketballdude138
funny because you think you're a prodigy.
mommyboy735 9 months ago
@mommyboy735 um dude you dont know me i dont think im a prodigy
basketballdude138 9 months ago
@mommyboy735 Why you be hatin bro
monkey64cow 9 months ago
So if i was less than 15 years old and watched Java tutorials, that would imply I'm special because i know programming (to a small extent) and im not an adult?
wtf is this shit?
PerverseBannana 9 months ago
I'm 14 and have been learning coding languages since about 12 1/2. I can now do atleast the fundamentals of Java, c++, html, xhtml, css, lua, and visual basics. Go young people!
bluemond100 9 months ago
Im only 12 and i can do html,css and javascript LOL
xxadnandxx 9 months ago
@xxadnandxx
It's funny because you think you're a prodigy.
mommyboy735 9 months ago
too lazy to press the space bar 5 times
presses / and then t
mistahowe 9 months ago
hi can you teach me how to use the array values received from previous into the current form
marwaha1234 9 months ago in playlist Java Programming
0th. i love saying when talking about arrays.
codecvr12 9 months ago
Not using a foreach loop? For shame...
packetpirate 9 months ago
@packetpirate Can you use for each loop on a fixed array?
AdventKingBand 9 months ago in playlist Java Programming Tutorials
@AdventKingBand Yes...
for(int n : bucky) { System.out.println("Number: " + Integer.toString(n));
}
packetpirate 9 months ago
@packetpirate Oh right right....I was flipping the position of the array and the variable...
AdventKingBand 9 months ago
This is awesome becouse cartmans like dam those are fat.
zedo28 10 months ago
Keep this up.. Thanks you so much.. Your videos are surprisingly so helpful..
Jomar4444 10 months ago
simply, the best
hemo986 11 months ago
nice
punkace0077 11 months ago
The people who dislike this video deserve to be slapped in the face with a scorching hot pizza.
Tolfing 11 months ago 70
@Tolfing i think a scorching hot pizza is to good for them, slap them with a scorching hot stone :D
steffenaap 9 months ago
@Tolfing That doesn't seem right...
Maybe shove it down their throat as well.
InvaderWakkoReborn 8 months ago
Comment removed
andreirocks1992 8 months ago
@Tolfing ouch
Gizmotrold 5 months ago
@Tolfing Or just wrap the warm melting cheese around their penis
Thegamecheats 5 months ago in playlist Java Programming Tutorials
what does the + sign in the println statement mean?
0871356005 11 months ago
@0871356005
ex:
System.out.printline("My name is "+"Tarek")
output is : My name is tarek
its used if u want to output two diffrent things in da same line
tarek903 11 months ago
@tarek903 asked my lecturer today and he said it was for concatenation (same as what you said ) so thanks anyway.
0871356005 11 months ago
does anyone get the message of
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5 at apples.main(apples.java:7)
at the bottom
RickyLopezMartinez 11 months ago
4 people don't like tuna
gabber6969 11 months ago
tab is 4 spaces
TheScars75 1 year ago
ppl are just disliking this so this video isn't a pefect 361-0 ratio.
paki123 1 year ago
This has been flagged as spam show
im only 13 and i can do java SUCK on that i.t teacher
hall0fgamez 1 year ago 49
@hall0fgamez
I'm 11 and I know HTML, CSS, AS2, AS3, AND Javascript. :P
TheScars75 1 year ago
@TheScars75 i know HTML CSS and JAVA thats it
hall0fgamez 1 year ago
@TheScars75 okay no one really cares stop showing off
RickyLopezMartinez 11 months ago
@RickyLopezMartinez
Not really, HTML CSS and javascript should be really easy and AS2 and AS3 are related to eachother, they were pretty easy too and I don't really know everything I Could do on them
TheScars75 11 months ago
@TheScars75 Knowing code, and knowing a little bit of code are two different things entirely, besides stuff like html and javascript are about the easiest, most simple things to learn. Most languages are simple enough that one would have no reason to brag, try learning something like assembly and then you can brag all you want
xMrElix 11 months ago
@xMrElix
Did you read my other comment where I pretty much said I wasn't trying to brag?
TheScars75 11 months ago
@hall0fgamez just because you can copy and paste code doesn't mean you 'can do' java, skiddie
c0decub 9 months ago
@c0decub look, i'll have you know that i don't "copy and paste" Java i actually can make lots of things FROM SCRATCH. and what is a skiddie? also just because i'm only 13 does not make me a stupid moron! teenagers aren't stupid you just assume that.
hall0fgamez 9 months ago
@hall0fgamez i doubt it, but whatever
c0decub 9 months ago
@c0decub go back to your lua in g-mod
hall0fgamez 9 months ago
@hall0fgamez go back to your minecrap and watching dj creamstar
c0decub 9 months ago
@c0decub why thank you, i shall
hall0fgamez 9 months ago
@c0decub Hey, I just want to start off by saying that you have no idea what people are capable of. Sure, he may just be a bluffing wannabe, but you don't know that. Who knows if he may grow up to be a great programmer.
ar4youready 8 months ago
@ar4youready Yeah I know, I was just trolling him.
c0decub 8 months ago
@hall0fgamez I'm 10. Suck on that.
tomek123star 8 months ago 3
@hall0fgamez HA, I'm 12 and I can do it!
SauskueHitsugaya 8 months ago
@hall0fgamez I'm 11 and i can do java. I win.
pokemonmaster551 7 months ago
@pokemonmaster551 But your name is pokemonmaster, so you fail :o
Hapistorique 7 months ago
@hall0fgamez faggot a lot of people can do Java
Thegamecheats 7 months ago
@hall0fgamez im only 11 :P
HDStaticz 7 months ago