[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
Java Programming Tutorial – 33 – Multidimensional Arrays
Comments
43 responses to “Java Programming Tutorial – 33 – Multidimensional Arrays”
-
2017 wtf ..
-
Thank you!!
-
I was confused when i learned multidimensional array in my institute, but after watching your tutorial my confusion is gone .. thanks a lot you are the best teacher 😀 (Y)
-
I played around with it a bit. Seems you can put as many arrays as you'd like. int gg[][][][][][]; Wow xD
-
Check my program for displaying first 100 natural numbers with multidimensional arrays:
public class apples {
public static void main(String[] args){
int array[][] = new int[10][10];
for(int x = 0; x<10;x++){
for(int y = 0; y<10;y++){
array[x][y] = 10*x + y + 1;
}
}
display(array);
}
public static void display(int x[][]){
for(int a = 0;a<10;a++){
for(int b = 0; b <10; b++){
System.out.print(x[a][b] + "t");
}
System.out.println();
}
}
} -
I can't stop praising this guy for the best explanation of this type of stuff!
-
I'm learning more from you than I did from my school. Thanks a million (y)
-
Way ta butcher naming conventions…still great job!!!
-
so how would the .length function work with this? because i need to know how many arrays are in the first array(X) and the second(Y) how many values in each array for each array.
-
in 1:37 its firstArray[0][0]= 8 not firstArray[0][1]=8 😛 keep cal and enjoy coding
-
Thanks man… appreciate it!
-
how can u make a robot that can make a million dollars in the stock market?
-
hi thanks for the patience for explaining everything.. can you please made a program usng array with two Public static aside from main??
please.. -
when I saw the multidimensional array at first my brain threw up, then you explained it great just like you always do, now I understand perfectly.
great vids keep up the great work! -
How do we create a 3 or 4 dimensional array?
-
Brilliant explanation! 😀
-
Did anyone else play around with this as the video was playing and made a program to print the arrays, then got to the end of the vid and realized that that was the next tutorial xD
-
Every time I come in youtube mostly I come to see youre videos really good teaching!!
-
for(int column=0;column<x[row].length;column++);
What do you mean by "x[row]" used in the statement above ?
-
how do i use a variable in there?
-
hey dude tnx alot.you do my homework your very helpful -.-
-
Nice Tutorial
-
whats up guys and welcome to 523132 java tutorial
-
Every time I come in youtube mostly I come to see youre videos really good teaching!!
-
in fact, a multidimensional array, is just an array of array's.
so if you need to store multiple array's, you use this. -
you are wrong, the element in firstArray[0][0] is "8", not [0][1]
-
Thanks! 🙂
-
Hey there, great video but you made a mistake….several times you refer to the 8 value as 0,1 when infact it is 0,0…i was confused as i tried coding…but once i changed it to 0,0 it worked fantastically, thanks for an overall great video, it helped me
-
Best free java tutorials on the Web 🙂
-
first array element calling started from 0,1…. where as second array 0,0 ?? little confused…
-
Do not use four brackets. it will create a digital black hole, which will suck out zettabytes of the internet.
-
Even Lynda.com doesn't explain step by step how this guy does
-
How is this useful?
-
What about inputting and outputting from a 2d array of say [10][10] size and user defined input? Then calling from another java file
-
What about 2D arrays with user defined input? Say I have a String firstArray[][] = new String [10][10]; this would give me 10 columns with ten rows, how could I get a user string input?
-
Wha…… Lol I think im in trouble considering im in the Arithmetic phase, wtf linear algebra is light-years away. I AM DOOMED AS A COMPUTER SCIENTIST!
-
also, can you make different length rows only with the curly bracket design?
-
Hmm, should a 3 dimensional array not be initialized with three square brackets? [][][]. What's the convention?
-
How does the matrices work again. What's the best website to learn the mathematical concepts that are useful for solving programming problems?
-
Well that was easy.
-
Not the most flexible angle of attack. i think I'm going to stick with the books…
-
isn't this matrix?
-
Definitely better than other videos related to the topic
Leave a Reply