Good day... i been given a task to print how many that number insterted by the user by rows in the array eg. Array list 22 24 25 26 5 1 2 6 3 20 92 62 32 user input=2 row 1=4 row2=1 row3=4 like that please help me....
@Namingishard099 watch videos and read book for extra reference or more details... just like you would do in lessons! I find videos a faster learning experience, as is it more relaxing and fast to listen to a voice rather than read text,. I find more practical but thats just my opinion.
Through a lot of tough work and learning, I have learned loads with flash and actionscript 3. I've handled some custom 3D in flash with my own 3D engine built from scratch. With the help of two different 3D tutorials I learned how said approach to 3D works and used it as foundation in my engine.
And I have to tell you. Multidimensional arrays is like... everything in my approach to 3D.
Thus far, this series of Java tutorials has been really simple for me.
I love it how whenever I look at the comments in these tutorials, there is always a top rated comment like "You are a better teacher than mine" or "Bucky is way better than any teacher" etc.
@TheTitantyler Or a top comment containing the top comments.
So what happens if the top comment contains the top comments containing previous top comments? Or a top comment containing a top comment containing a top comment containing a top comment?
Gah so im just reading the java tutorial off the oracle web site when all of a sudden it just so casually intros the reader the multidimensional arrays right after variables..my head head almost exploded..it was so vague
@maxwelle103 they are two diffrent variables. firstarray is storing its own line. secondarray is storing its own line. If you cannot understand this basic fundamental of variables, go back to troutrial one and watch again.
@toy741life hey genius at time X.XX he does make that mistake. but then a few seconds later he corrects it. Find out what it is for yourself, then if your smart enough let me know what that mistake is.
@maxwelle103 I know he made the mistake. But u should have figgued it out before he pointed it out. How much of a genius are are when you can't even dictate a single mistake.
HOLY SH*T! I've been stock in reading Oracle's Tutorial in their website about multidimensional array and I learned it after the first 38 seconds of your video!
Hi, I have recently just started learning java (not my first programming language, btw). And first of all, your videos are amazing. They are helpful, quick, and easy to understand. But i got a n00b question about multi-demisional arrarys, can you have one row filled with one data type and another row with a different data type. Like for example, one row filled with integers and the other filled with strings?
you are 23 and how on earth did you learn so much!!! You are the best, not just the material but the way you present it, so easy to follow for anyone with little knowledge of english.
I wish you taught me java in Uni. I have exams in 7 days. I have learnt more from 20 minutes of your tutorials than I have learnt in my Uni in a year. Your teaching pace is perfect. Please become a teacher in this field. You could go far...
One thing with this lesson that confuses me is that the second array has only two sets of brackets when declared, but it has three dimensions. All of the Java syntax guidelines that I have read say that the number of brackets should match the number of dimensions, or rows. For some reason, I guess no errors are generated, but is this proper code? Maybe more on this will be explained later.
I realized that I was mistaken about the dimensions of the second array. I added code to print the row and column indices, and I saw that this is a 2-dimensional array, with the groups of numbers enclosed in brackets being one array as one large grouping and each group of numbers being another array with the numbers as elements. So, there are three main groupings == [0][x], [1][x], [2][x], and the numbers are as [0][0-length], [1][0-length], [2][0-length]. Sorry for my mistake.
If you try to add another bracket set, it will throw an error. Having two sets of brackets is the indicator for multi-dimesional arrays, not just having two dimensions.
This comment has received too many negative votesshow
nice , but you should come with a muture example on array and array list , like i wrote a program to loas am image on the array and then i do image processing techniwue on them like threshoding to make it grey scale image
if you want with me about any issue regarding array and array list add me at
lol @ the minecraft players dropping like flies
11011101111 1 week ago
@11011101111 I actually want to learn this for Minecraft, and I already know C++, along with two libraries, SFML and wxWidgets :)
ShaneCopseysTV 6 days ago
yippie already know this from c++!
ecence123 1 week ago
I really don't like Arrays.
kagamers 3 weeks ago in playlist Java (Beginner) Programming Tutorials 7
firstbucky
COD5252 3 weeks ago
too many curly brackets D:
killavidsz1230 1 month ago in playlist Java (Beginner) Programming Tutorials
i thought he said "dirty third" java tutorial... lol
chhipzahoy 1 month ago 4
Finaly something that is not as hard as the last ones :D
Nethertar 1 month ago in playlist Java Programming Tutorials
The matrix just got real, motherfuckers.
iambored2006 1 month ago 3
you say in this video that the first arry should be [0][1].... shouldnt it be [0][0] and the second array be [0][1]?
DevilOnHog 1 month ago
@DevilOnHog that's what i'm thinking
1337Chaosboy 3 days ago
Geez I'm getting quick at typing apples and tuna...
Rypac15 2 months ago 8
@Rypac15 True dat!
ugerest 1 month ago in playlist Java
didn't know this was sci fi.
ExSeaD 2 months ago in playlist More videos from thenewboston
how do i get the length of the rows/columns?
sciman001 2 months ago
@sciman001 window\preferences\General\editors\text editors and click on show line number ;)
manomama7 2 months ago
@sciman001 for example x[0].lenght :)
TakeshiTikanoTW 1 month ago
wait... a variable that sits in a array that sits in a multidimensional array... yeaaaaahh.....
TheMartijn45 2 months ago in playlist Java Programming Tutorials
Arrayception
CodeSensitive 3 months ago 2
@CodeSensitive not at all try hard
Hawkclan1 2 months ago in playlist More videos from thenewboston
@Hawkclan1 calm down dude i was just doing it as a joke because everyone dose that and it is so dumb xD
CodeSensitive 1 month ago
khei90 3 months ago
@khei90 Sorry,can't understand your problem. please elaborate your query.
hardipdpatel 3 months ago
OMG I've watched so many vids about MultiDimensional Arrays and i never understood it and now... I did Thanks so much Buck your tuts are AMAZING!
killman2639 3 months ago
funny how many kids are here to mod minecraft, and how farther along in the tutorials they die off, impatience kills virtue
fulslion 3 months ago 12
@fulslion Passion maintains virtue, i wouldn't be here otherwise.
MattMcCool 3 months ago
Guys should I read a book about java or watch bukcky's videos.Oh and dont say to watch his videos just to praise him.Just give me your opinion
Namingishard099 3 months ago
@Namingishard099 watch videos and read book for extra reference or more details... just like you would do in lessons! I find videos a faster learning experience, as is it more relaxing and fast to listen to a voice rather than read text,. I find more practical but thats just my opinion.
SilentTalker 3 months ago in playlist Java Programming Tutorials
@SilentTalker I Completely agree. You see a much bigger picture of things this way!
TheWiseGeek 3 months ago in playlist JAVA PROGRAMMING
@Namingishard099 might aswell do both.
PoundSakeFTW 3 months ago
more array stuff -_-
theXminecrafter 4 months ago 4
Through a lot of tough work and learning, I have learned loads with flash and actionscript 3. I've handled some custom 3D in flash with my own 3D engine built from scratch. With the help of two different 3D tutorials I learned how said approach to 3D works and used it as foundation in my engine.
And I have to tell you. Multidimensional arrays is like... everything in my approach to 3D.
Thus far, this series of Java tutorials has been really simple for me.
codycero1 4 months ago in playlist Java Programming Tutorials
@obiegryff yes there is. That's why it's called multi-dimensional array not just 'bi-dimensional'. You can do 4D, 5D so on.. ;D
hydroslf 4 months ago in playlist TheNewBoston - Java Programming
so we have learned 1D array
Now learning 2D array
Is there a 3D array
obiegryff 4 months ago in playlist TheNewBoston - Java Programming
only 54 tutorials left!.... and then the real work starts -_-
MGApcPro 4 months ago in playlist Java Programming Tutorials
at last.. looks like all the minecraft guys gave up
MegamaaaanBM 4 months ago in playlist Java Programming Tutorials 8
@MegamaaaanBM I haven't..
pxpc2 4 months ago
This has been flagged as spam show
@MegamaaaanBM not me lol
chrisall76 4 months ago in playlist java tutorials
It's all thanks to you that I will be passing my java exam!!
gaspOMG 4 months ago
An array inside an array? Arrayception!
Th3M4ni4C 4 months ago in playlist Java Programming Tutorials 6
@Th3M4ni4C you can even make arrays inside arrays inside of multidimensional arrays inside of arrays and so on :) its like an Arrayception party
Xeinnex1 4 months ago
Comment removed
Th3M4ni4C 4 months ago in playlist Java Programming Tutorials
2:12 can i do that? shuriken!^^
GottaGood 6 months ago 3
Comment removed
GottaGood 6 months ago
Comment removed
GottaGood 6 months ago
im very confused on making and using arrays, and this just made it substantially worse. T_T can anyone help to explain this???
Zalerinian 6 months ago in playlist The New Boston Java Tutorials Bucky
@Zalerinian nevermind, the next vidoe clared that confusion for MD arrays for me.
Zalerinian 6 months ago in playlist The New Boston Java Tutorials Bucky
Bucky your the best! I haven't got so deep into Java before I started watching your tutorials thanks.
Kalydosos 6 months ago
these tutorials are better to watch online at home than study at university wiith lousy professors!!
Fadu4u 6 months ago 3
It's funny how our homework is always "play with it" .
zki2 7 months ago 96
I love it how whenever I look at the comments in these tutorials, there is always a top rated comment like "You are a better teacher than mine" or "Bucky is way better than any teacher" etc.
TheTitantyler 7 months ago 74
@TheTitantyler Because it is true.
cpdaviddee 2 months ago in playlist Java Programming Tutorials
@TheTitantyler
does it seems like I am the only one who have a very good programming teacher.
I'm here only because I think we're going a bit slow and I wanna learn faster ( btw I know a shit or two about programming in other prog.languages )
tonilocoable 1 month ago
@TheTitantyler Or a top comment containing the top comments.
So what happens if the top comment contains the top comments containing previous top comments? Or a top comment containing a top comment containing a top comment containing a top comment?
InvaderWakkoReborn 1 month ago in playlist Java Programming Tutorials
everytime i think of array i think of the black ops map array
TheShogunYoritomo 7 months ago
@TheShogunYoritomo oh crap lol, now you got me thinking of that map, and I dont even PLAY black ops anymore LOL
RazorSRaider 6 months ago 2
im getting tired of arrays -.-
BSC148 7 months ago
Multi dimensional arrays important for 3d rendering engines.
vodkacannon 7 months ago
correction at 1min59
the first element is in the first row would be called
firstarray[0][0] and not firstarray[0][1]
DemocraWatch 7 months ago in playlist Bucky's Java 2
By the way,, secondArray is called a ragged array because each row has a nmber of columns different than the other rows.
abkmf 7 months ago
Gah so im just reading the java tutorial off the oracle web site when all of a sudden it just so casually intros the reader the multidimensional arrays right after variables..my head head almost exploded..it was so vague
miasmablk 7 months ago
"Can I do that? Sure can!" - That pretty much sums up the whole "thenewboston" channel :)
MisterM2402 7 months ago 5
Hey bucky.. Can you make a tutorial for adobe fireworks? Since there is already, xhtml&css. Fireworks is useful coz it saves loads of time.
xXEviLIntenTXx 7 months ago
so it's much like using an array with each value being it's own array? so a proper 3 dimensional array would be defined as
int list[ ] [ ] [ ]={ { {a,b},{c,d} },{ {e,f},{g,h} } };
that would be a 2x2x2 array, right?
jackasson1 7 months ago
Gary Lougheed was here
XRenkoX 8 months ago
the chances of somebody disliking this are 70,497:1
you. fucking. pwn.
thejammedlocker 8 months ago in playlist Java Programming Tutorials
Thanks for making it so simple.University teachers just sucks!!
Geni8itoFos 8 months ago 3
ohhh god 33 tutorials and we are finally getting serious :)
keep the good job
TheSh4go2 9 months ago
why calling second array 0,0 0,1 0,2 and so on but the first array you said 0,1 0,2 0,3? whats the difference there?
maxwelle103 9 months ago
@maxwelle103 they are two diffrent variables. firstarray is storing its own line. secondarray is storing its own line. If you cannot understand this basic fundamental of variables, go back to troutrial one and watch again.
toy741life 9 months ago
@toy741life well said genius. What part of my question made you to think that I didn't know they were storing their own line?
maxwelle103 9 months ago
@toy741life hey genius at time X.XX he does make that mistake. but then a few seconds later he corrects it. Find out what it is for yourself, then if your smart enough let me know what that mistake is.
maxwelle103 9 months ago
@maxwelle103 I know he made the mistake. But u should have figgued it out before he pointed it out. How much of a genius are are when you can't even dictate a single mistake.
toy741life 9 months ago
@toy741life hey go fuck yourself. hey what kind of response did you expect? be an asshole take an asshole.
maxwelle103 9 months ago
@maxwelle103 lol size of your moms slutty pussy (). Almost hard to wonder how yo cam out of it. That did have to cut open her pussy?
toy741life 9 months ago
I already know java, and I think this is helpful
Bravo!
mistahowe 9 months ago
great!
Arluness 9 months ago
arrays are like calling a section out of matrices correct?
codecrax 9 months ago
@codecrax
I think if it's only a 2 dimensional array.
abkmf 7 months ago
All i Can say Is. Bucky, U are AWESOME!!!!!!
Mrjameslat 10 months ago 3
This has been flagged as spam show
chevr gracias
nelsonfisi 10 months ago
chevr gracias
nelsonfisi 10 months ago
HOLY SH*T! I've been stock in reading Oracle's Tutorial in their website about multidimensional array and I learned it after the first 38 seconds of your video!
damn! the key is the row and column^_^,.
katsuneshinsengumi 11 months ago
Thanks It has saved me time and has make programming less boring ie more interesting.
indgairhe 11 months ago
yo bucky are you a professor at any college?
bharathram89 11 months ago
bucky your vid are amazing and should make me topof the class when i go to college
XxHazardxXGaming 1 year ago
They should just show newboston videos and get rid of professors, save money and don't waste it on idiotic professors.
paki123 1 year ago
Well look at that... I have one bullet... This video has one dislike.... Let's get this shit started
paki123 1 year ago
How can i create an empty colon ?
kld0093 1 year ago
You're better than my professor :) good job man!! keep it up!!
ramosgabs 1 year ago
I was about to pay $3000 for a Java class... Ive been learning a lot with you. Thanks a lot!
fanes1979 1 year ago 6
46770 views
1 dislike
:)
TheGreekSkater 1 year ago 5
Hi, I have recently just started learning java (not my first programming language, btw). And first of all, your videos are amazing. They are helpful, quick, and easy to understand. But i got a n00b question about multi-demisional arrarys, can you have one row filled with one data type and another row with a different data type. Like for example, one row filled with integers and the other filled with strings?
Mattimaro 1 year ago
@Mattimaro No, I don't think so.
CameraMan9258 1 year ago
3:28
totou
RobloxmannenTV 1 year ago
OMG, TO MANY ARRAY TUTORIALS.
CODtheater 1 year ago
sure can! lol
enrichedd 1 year ago
array means list right?
blingkid00 1 year ago
this is great help bucky, great help! :D
bleach9429 1 year ago
you are 23 and how on earth did you learn so much!!! You are the best, not just the material but the way you present it, so easy to follow for anyone with little knowledge of english.
Keep up the good work!!!
olebaj 1 year ago
@olebaj I really don't want to break your ilusion but we learned it on secondary school like when i was 15-16 :\
SgtJohnnyS 1 year ago
ur using eclipse right?
eamedrolf 1 year ago
@eamedrolf Yes
BillysProgrammer 1 year ago
if (Bucky = present){ System.out.println("Fire your professor"); }
megaelliott 1 year ago 2
@megaelliott
Wrong operator bro.
I think you mean '==.'
Oh, and unless 'present' is a boolean variable containing 'true' , you're going to get a syntax error.
pstap92 1 year ago
@pstap92 Yeah, I realised :O
megaelliott 1 year ago
thnks for all the tutorials.
yvens47 1 year ago 2
BUCKY!!!!!! we love you!!!!
TGAcodes 1 year ago
Bucky you made "YOUTUBE" better than universities.
Dalwanaage 1 year ago 4
Bucky you made "YOUTUBE" better than universities.
Dalwanaage 1 year ago
BUCKY YOU ARE BETTER THAN ALL MY LECTURES PUT TOGETHER.
vennyboy2k4 1 year ago 6
how do you make an associative array in java? :(
after731 1 year ago 3
System.out.println("Thanks!")
thatsmamaluigitoyou1 1 year ago 3
typically, or how I was taught was that the correct way to create an array would be
int[][] bucky = new int[2][2];
Demlar 1 year ago 2
@Demlar you didn't watch the 32 tutorials before this one did you ?
smil8888 1 year ago
wow array in an array ingenious.
Saladon89 1 year ago
Thankyou You are better than my teachers!!!!
rimu1011 1 year ago
Great as always!! :)
Fbiman93 1 year ago 5
I wish you taught me java in Uni. I have exams in 7 days. I have learnt more from 20 minutes of your tutorials than I have learnt in my Uni in a year. Your teaching pace is perfect. Please become a teacher in this field. You could go far...
ROAMZ101 1 year ago 7
if u have a third set of [ ] bracket it adds a third dimension think of it as a line for [ ]
a rectangle for [ ] [ ] and a cube or a rectangular prisim for [ ] [ ] [ ]
XDalutZX 1 year ago
u really make out professionals with these tutorails...keep it up
35ak 1 year ago
Great videos. Thanks!
One thing with this lesson that confuses me is that the second array has only two sets of brackets when declared, but it has three dimensions. All of the Java syntax guidelines that I have read say that the number of brackets should match the number of dimensions, or rows. For some reason, I guess no errors are generated, but is this proper code? Maybe more on this will be explained later.
cctenniselbow 2 years ago
I realized that I was mistaken about the dimensions of the second array. I added code to print the row and column indices, and I saw that this is a 2-dimensional array, with the groups of numbers enclosed in brackets being one array as one large grouping and each group of numbers being another array with the numbers as elements. So, there are three main groupings == [0][x], [1][x], [2][x], and the numbers are as [0][0-length], [1][0-length], [2][0-length]. Sorry for my mistake.
cctenniselbow 1 year ago
@cctenniselbow
If you try to add another bracket set, it will throw an error. Having two sets of brackets is the indicator for multi-dimesional arrays, not just having two dimensions.
nopoobears 1 year ago
This comment has received too many negative votes show
nice , but you should come with a muture example on array and array list , like i wrote a program to loas am image on the array and then i do image processing techniwue on them like threshoding to make it grey scale image
if you want with me about any issue regarding array and array list add me at
google/googletalk/skype at (hmk25061984)
hmk25061984 2 years ago
"..we need to call the elements for a multi dimensional array..." sounds like something from stargate SG-1 lol.
happymerc 2 years ago 3
thanks * 33...enough said...
LawenceCodye 2 years ago
Just a tip, whenever I make a multidimensional array I like to line up the rows so it makes a table.
static int[][] map = {{0,0,0,0}, {0,0,0,0}, {0,0,0,0}};
MrDrpersonman 2 years ago 2
Your subscripts are backwards. Should be
int[][] firstarray. int firstarray[][] would work in c++ or c
codecaine 2 years ago
No it's fine it actually works either way, try it yourself.
MrDrpersonman 2 years ago
@MrDrpersonman I get a error.
codecaine 2 years ago
Try:
int[][] var1 = new int[2][3]; //The first way
int var2[][] = {{0,0,0},{0,0,0}}; //The second way
If this doesn't work for you there's something wrong with your Java or compiler...
MrDrpersonman 2 years ago
Comment removed
ExtremeDevilz2 2 years ago
Great, but it would be even greater if you would have some kind of script of notes on your site or something...for each lesson.
Just a thought :)
vulcanofx 2 years ago
Love <3 you!!! Great tutorials!!!
812Insane 2 years ago
Nice.
jacc2 2 years ago
Just great!
lassisg 2 years ago
Bucky , you are better than my Java professor.
DJFONSO1 2 years ago 239
Wonderful!
TheFzxc 2 years ago 3
This has been flagged as spam show
nice tutorials, but your conventions are a bit poor ;)
eliteveteran 2 years ago
this is great man thanks!!
duderocks08 2 years ago 78
This has been flagged as spam show
first!
ADproduction31 2 years ago