Added: 2 years ago
From: thenewboston
Views: 116,465
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (145)

Sign In or Sign Up now to post a comment!
  • lol @ the minecraft players dropping like flies

  • @11011101111 I actually want to learn this for Minecraft, and I already know C++, along with two libraries, SFML and wxWidgets :)

  • yippie already know this from c++!

  • I really don't like Arrays.

  • firstbucky

  • too many curly brackets D:

  • i thought he said "dirty third" java tutorial... lol

  • Finaly something that is not as hard as the last ones :D

  • The matrix just got real, motherfuckers.

  • 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 that's what i'm thinking

  • Geez I'm getting quick at typing apples and tuna...

  • @Rypac15 True dat!

    

  • didn't know this was sci fi.

  • how do i get the length of the rows/columns?

  • @sciman001 window\preferences\General\edi­tors\text editors and click on show line number ;)

  • @sciman001 for example x[0].lenght :)

  • wait... a variable that sits in a array that sits in a multidimensional array... yeaaaaahh.....

  • Arrayception

  • @CodeSensitive not at all try hard

  • @Hawkclan1 calm down dude i was just doing it as a joke because everyone dose that and it is so dumb xD

  • 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....
  • @khei90 Sorry,can't understand your problem.  please elaborate your query.

  • 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!

  • funny how many kids are here to mod minecraft, and how farther along in the tutorials they die off, impatience kills virtue

  • @fulslion Passion maintains virtue, i wouldn't be here otherwise.

  • 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 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 I Completely agree. You see a much bigger picture of things this way!

  • @Namingishard099 might aswell do both.

  • more array stuff -_-

  • 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.

  • @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

  • so we have learned 1D array

    Now learning 2D array

    Is there a 3D array

  • only 54 tutorials left!.... and then the real work starts -_-

  • at last.. looks like all the minecraft guys gave up

  • @MegamaaaanBM I haven't..

  • It's all thanks to you that I will be passing my java exam!!

  • An array inside an array? Arrayception!

  • @Th3M4ni4C you can even make arrays inside arrays inside of multidimensional arrays inside of arrays and so on :) its like an Arrayception party

  • Comment removed

  • 2:12 can i do that? shuriken!^^

  • Comment removed

  • im very confused on making and using arrays, and this just made it substantially worse. T_T can anyone help to explain this???

  • @Zalerinian nevermind, the next vidoe clared that confusion for MD arrays for me.

  • Bucky your the best! I haven't got so deep into Java before I started watching your tutorials thanks.

  • these tutorials are better to watch online at home than study at university wiith lousy professors!! 

  • It's funny how our homework is always "play with it" .

  • 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 Because it is true.

  • @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 )

  • @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?

  • everytime i think of array i think of the black ops map array

  • @TheShogunYoritomo oh crap lol, now you got me thinking of that map, and I dont even PLAY black ops anymore LOL

  • im getting tired of arrays -.-

  • Multi dimensional arrays important for 3d rendering engines.

  • correction at 1min59

    the first element is in the first row would be called

    firstarray[0][0] and not firstarray[0][1]

  • By the way,, secondArray is called a ragged array because each row has a nmber of columns different than the other rows.

  • 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

  • "Can I do that? Sure can!" - That pretty much sums up the whole "thenewboston" channel :)

  • 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.

  • 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?

  • Gary Lougheed was here

  • the chances of somebody disliking this are 70,497:1

    you. fucking. pwn.

  • Thanks for making it so simple.University teachers just sucks!!

  • ohhh god 33 tutorials and we are finally getting serious :)

    keep the good job

  • 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 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 well said genius. What part of my question made you to think that I didn't know they were storing their own line?

  • @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.

  • @toy741life hey go fuck yourself. hey what kind of response did you expect? be an asshole take an asshole.

  • @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?

  • I already know java, and I think this is helpful

    Bravo!

  • great! 

  • arrays are like calling a section out of matrices correct?

  • @codecrax

    I think if it's only a 2 dimensional array.

  • All i Can say Is. Bucky, U are AWESOME!!!!!!

  • chevr gracias

  • 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^_^,.

  • Thanks It has saved me time and has make programming less boring ie more interesting.

  • yo bucky are you a professor at any college?

  • bucky your vid are amazing and should make me topof the class when i go to college

  • They should just show newboston videos and get rid of professors, save money and don't waste it on idiotic professors.

  • Well look at that... I have one bullet... This video has one dislike.... Let's get this shit started

  • How can i create an empty colon ?

  • You're better than my professor :) good job man!! keep it up!!

  • I was about to pay $3000 for a Java class... Ive been learning a lot with you. Thanks a lot!

  • 46770 views

    1 dislike

    :)

  • 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 No, I don't think so.

  • 3:28

    totou

  • OMG, TO MANY ARRAY TUTORIALS.

  • sure can! lol

  • array means list right?

  • this is great help bucky, great help! :D

  • 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 I really don't want to break your ilusion but we learned it on secondary school like when i was 15-16 :\

  • ur using eclipse right?

  • @eamedrolf Yes

  • if (Bucky = present){ System.out.println("Fire your professor"); }

  • @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 Yeah, I realised :O

  • thnks for all the tutorials.

  • BUCKY!!!!!! we love you!!!!

  • Bucky you made "YOUTUBE" better than universities.

  • Bucky you made "YOUTUBE" better than universities.

  • BUCKY YOU ARE BETTER THAN ALL MY LECTURES PUT TOGETHER.

  • how do you make an associative array in java? :(

  • System.out.println("Thanks!")

  • typically, or how I was taught was that the correct way to create an array would be

    int[][] bucky = new int[2][2];

  • @Demlar you didn't watch the 32 tutorials before this one did you ?

  • wow array in an array ingenious.

  • Thankyou You are better than my teachers!!!!

  • Great as always!! :)

  • 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...

  • 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 [ ] [ ] [ ]

  • u really make out professionals with these tutorails...keep it up

  • 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.

  • 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

    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.

  • "..we need to call the elements for a multi dimensional array..." sounds like something from stargate SG-1 lol.

  • thanks * 33...enough said...

  • 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}};

  • Your subscripts are backwards. Should be

    int[][] firstarray. int firstarray[][] would work in c++ or c

  • No it's fine it actually works either way, try it yourself.

  • @MrDrpersonman I get a error.

  • 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...

  • Comment removed

  • 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 :)

  • Love <3 you!!! Great tutorials!!!

  • Nice.

  • Just great!

  • Bucky , you are better than my Java professor.

  • Wonderful!

  • this is great man thanks!!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more