2D Array Java Tutorial #11

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 363

  • @alexlorenlee
    @alexlorenlee  ปีที่แล้ว +11

    If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h

  • @faststudy2425
    @faststudy2425 5 ปีที่แล้ว +296

    Most underrated TH-camr I have ever found

    • @joethompson8147
      @joethompson8147 4 ปีที่แล้ว +6

      absolutely right.

    • @haidermirza3674
      @haidermirza3674 4 ปีที่แล้ว +3

      100th like

    • @antwarior
      @antwarior 3 ปีที่แล้ว +1

      Well too bad this guy only does flips now and dont code anymore 🤦‍♂️

    • @dreuyasha9182
      @dreuyasha9182 2 ปีที่แล้ว

      Facts!

  • @stevenfinston8138
    @stevenfinston8138 4 ปีที่แล้ว +59

    I teach computer science at a high school. Your video is outstanding. I have embedded it in our online curriculum and I use it as the Do-Now introduction for 2-D arrays. Thank you so much for your commitment and efforts in helping make programming in Java accessible to all students.

  • @00222317
    @00222317 5 ปีที่แล้ว +113

    I just started my first semester at ASU in August and we are getting into 2D arrays right now. I found your channel a couple days ago, and I dig it. I can really relate to your story. I was feeling the same way before I found this channel and it really boosted my confidence. Thanks a lot man for your honesty and for the lessons. I hope the channel takes off for you.

    • @weirdofilm
      @weirdofilm 2 ปีที่แล้ว +4

      Hi Snowden, i am also an ASU student. The class was CSE 110?

  • @sheruniboteju7636
    @sheruniboteju7636 3 ปีที่แล้ว +12

    Best part of this was 1:41 but seriously you are saving lives here man

  • @nostalgiacademy7378
    @nostalgiacademy7378 2 ปีที่แล้ว +14

    I was a person that was interested in coding and then actually going to school for it kinda took the magic from it, people like you remind me why I got into it in the first place. Please never stop making content, your personality and vids are gonna be huge. Thanks for the great vid :)

    • @dancingrook8553
      @dancingrook8553 2 ปีที่แล้ว +3

      For sure, I know what you mean. We had a programming class in highschool and I was initially interested, it was super basic stuff off memory HTML etc. However I learnt a grand total of 0 from the class. The teacher each lesson just gave us a powerpoint to work through and sat on his laptop the whole lesson and he never said anything and never looked up from the laptop. It is partially my fault as I could have very well learned something from the powerpoints but being a kid of course if the teacher is being lazy and the rest of the class is just playing games, naturally I joined along lol. Its a shame really. Luckily Alex does a great job I've learnt more from him than I ever learned off my IPT teacher lol.

  • @JTBanks
    @JTBanks 5 ปีที่แล้ว +34

    It's so ironic how you mention several times how teachers and TA's made things more confusing for you, because it's exactly like that for me. I learned 98% of all my java knowledge through you and Michael Fudge :). Thanks Alex! Btw I had a theater project using 2d arrays, very cool!

  • @mjd_my9
    @mjd_my9 11 หลายเดือนก่อน +4

    I love how u really make these videos more understandable
    Short, fun, easy to understand ur making programming more fun

  • @nicksavchenko9490
    @nicksavchenko9490 4 ปีที่แล้ว +8

    I must say that your explanations are making everything so easy.
    thank you very much for this channel! since I stumbled upon it,
    every subject that I need to learn to my course at the university I'm learning from here
    instead of trying to understand the poor explanation of my professors.
    Every friend of mine who's struggling to understand a subject I refer to your channel
    and they all praise you.
    Greetings from Israel!

    • @alexlorenlee
      @alexlorenlee  4 ปีที่แล้ว +1

      awesome, thanks so much :)

  • @80sGameGuy
    @80sGameGuy 5 ปีที่แล้ว +17

    Thanks, I appreciate the large font so I can watch while exercising.

  • @valjohn6870
    @valjohn6870 9 หลายเดือนก่อน +1

    Wow 2 minutes throughout this video and I already have an understanding of this thank you for taking the time and effort to make this!

  • @jdm_hokage7861
    @jdm_hokage7861 หลายเดือนก่อน

    i got a java exam tomorrow and its about 2d and 1d arrays and abstract interface this video really helps to solidify my understanding thx i am a new fan and subscriber

  • @nurosele3850
    @nurosele3850 3 ปีที่แล้ว +5

    Your videos are insanely helpful , you go straight to the point and keep things as simple as they can possibly be. Thank you.

  • @ryanelkins9682
    @ryanelkins9682 4 ปีที่แล้ว +4

    Trying to survive my 8 week college course in Java and you made it a little bit easier. This week is Arrays and i might use some of this knowledge, thanks alot.

  • @rebechkah
    @rebechkah 2 ปีที่แล้ว +1

    I have a project where I have to code a game of connect four using 2D arrays. At first I was stumped, but now I think I have an idea of how to do it once I saw your first four loop and realized that's how you get the diagonal!

  • @rohanallen8562
    @rohanallen8562 4 ปีที่แล้ว +1

    Alex, I wish you were my instructor. I am a beginner, I am so confused in my class. Glad I found you- you break things down and make it so much easier to understand. I like the way you pace teaching. Great job!

  • @Cablur
    @Cablur 4 ปีที่แล้ว +4

    Thanks again man, this is so damn good to understand!
    The longer I learn coding the more I understand that the only reason why people never learn to code or just quit it pretty fast is not because coding is hard to learn, it's because the tutorials are bad!
    I often have to writ stuff down to actually understand what's going on and what specific code does, and when I understand what it does I like to explain it to my self in a metaphoric way. Using this method I can strengthen my knowledge and put the new stuff deeper in my memories.

  • @luisriveragonzalez9052
    @luisriveragonzalez9052 3 ปีที่แล้ว +2

    public class AlexIsTheBest{
    public static void main(String[] args) {
    boolean cannotThankYouEnough = true;

    while (cannotThankYouEnough){
    System.out.println("Thank you!");
    }
    //Yes, I know I did not stop the while-loop, but that is because I cannot thank him enough ;)
    }
    }

  • @majomorz3127
    @majomorz3127 3 ปีที่แล้ว

    The AP exam is tomorrow and I decided to learn java from 0 because I had no time, nor the money to take a course for a year. In fact I took 6 exams without the courses and tomorrow is my last exam, csa. So I am really grateful: THANK U! Greetings from Colombia. Sorry for my english, I really hope it was better in my essays; if not I'm screwed hahahaha

  • @SkyHighMelody
    @SkyHighMelody 3 ปีที่แล้ว +2

    Amazing Tutorials. Easy to understand, straight to the point, no bs theory I'm never going to use. Just perfect

  • @bacanalienigena
    @bacanalienigena 4 ปีที่แล้ว

    Yes I have just finished the second one right now at 3:30am and starting the last one as I have to read a file and print out the results in a 2D array... Thank you Lee you have helped out so much. 😃.

  • @tasneemabdkhair5746
    @tasneemabdkhair5746 4 ปีที่แล้ว +3

    I've truly been blessed by coming across this channel. THANK YOU for making me enjoy programming way more than I did before!

  • @AmongUs-qt3uo
    @AmongUs-qt3uo ปีที่แล้ว

    The diagonal part was so smart brooooo thank you so much!! I was stuck on printing diagonals for 1 hour !

  • @robabahedayati73
    @robabahedayati73 2 ปีที่แล้ว +1

    I am so happy to find this channel. I am streesed because of my projects and exams but your explanation would help me. Thanks for amazing videos.

  • @Denyy
    @Denyy 2 ปีที่แล้ว

    Just started me Java 2 class at fiu and you saved me with learning how to work with 2d arrays

  • @QDRG64
    @QDRG64 3 ปีที่แล้ว

    Wow, I don't know why this was such a hard concept for me to grasp in class but this video just made it instantly click in my head. Thanks a lot dude.

  • @allenromyn6323
    @allenromyn6323 ปีที่แล้ว

    Awesome , currently working on a project where I need to use 5 different users to login then logout then to the next user . All different users . Your Help is always appreciated .

  • @lifeisgood5287
    @lifeisgood5287 3 ปีที่แล้ว

    Thanks Alex. About 2 years ago I first learned this at uni and it was so hard to get it. It made me feel so depressed. But now with your video I can understand it. Thanks again Alex. You are awesome!

  • @uverpro3598
    @uverpro3598 4 ปีที่แล้ว

    Ive got a bad cold and my first coding assessment in two days. Thank you sir for this.

  • @drunkenmaster389
    @drunkenmaster389 2 ปีที่แล้ว

    Didn't realize a screen resolution was a 2D array. Mind blown, it totally makes sense. Thank you!

  • @ivootero3410
    @ivootero3410 5 ปีที่แล้ว +1

    Man thanks for the videos, you have a simple and non-technical way to approach all the topics!!
    Greetings from Argentina, keep up the great work!!!

  • @RainSage
    @RainSage 8 หลายเดือนก่อน +1

    I have a noob weather data 2d array project and it’s so confusing your videos help me understand a little bit more

  • @jmessi
    @jmessi 4 ปีที่แล้ว +1

    took me the longest time to notice you're typing on an external keyboard on top of your mac :'D
    thanks for all these lessons man! you're a great teacher!

  • @liaarakal2130
    @liaarakal2130 3 ปีที่แล้ว +2

    u should do a video on shifting 2d arrays, like moving them one to the left, one to the right, up and down, etc.

  • @HighdroLex
    @HighdroLex 6 ปีที่แล้ว +5

    I was going through my old yahoo emails from 2012 and I saw that you had sent me an email asking me to check out your channel, waffle gaming. back then i had subbed and i've lost the channel when i decided to migrate to Gmail.
    Here i am now with a different email and even my own channel. its awesome to see that you've changed so much my dude.

    • @alexlorenlee
      @alexlorenlee  6 ปีที่แล้ว +2

      RodCaster Gaming wow that’s so crazy! I’ll never forget all the great support from waffle gaming. And we’re still gaming :) thank you for stopping by again and it’s great to see your history with us. Welcome back :)

    • @mobarakjama5570
      @mobarakjama5570 4 ปีที่แล้ว

      @@alexlorenlee A great programmer and also a Gamer, all that's left is to find out you watch anime, RESPECT ALEX

  • @ArtificialIntel422
    @ArtificialIntel422 5 ปีที่แล้ว +3

    You speak in terms I can understand as a student.. And how it feels

  • @habaneassoweh5411
    @habaneassoweh5411 4 ปีที่แล้ว +1

    This video made me understand how for loops and any type of an array really work together. Great video!

  • @Open_your_eyes731
    @Open_your_eyes731 ปีที่แล้ว

    Man, you are good at explaining things. You would make a great teacher, if you ever decided to become one. Thanks for the tutorial!

  • @HamzaKhan-xu4pu
    @HamzaKhan-xu4pu 4 ปีที่แล้ว +1

    Thank you for your help! This is the best recap I have received throughout my time at university!

  • @dineshkomarina8233
    @dineshkomarina8233 4 ปีที่แล้ว +1

    Glade to have such an excellent youtuber making this kind of videos these are very very very useful for So many people Continue like this all the best 👍

  • @mgray999
    @mgray999 5 ปีที่แล้ว

    This is really helpful, and I really like your video layout. Your mention to like the video is subtle, and the keyboard and music is a very nice touch.

  • @amandamedo686
    @amandamedo686 4 ปีที่แล้ว

    instructors explaining 2 hours and my mind confused , Alex explaining in 8 min i say 1000000 WOW :) thanks Alex keep moving with other languages it's so much fun

  • @jackionendino4293
    @jackionendino4293 3 ปีที่แล้ว +1

    //attributes
    String Alex = "best java teacher";

  • @rizwanamir746
    @rizwanamir746 3 ปีที่แล้ว

    In my second semester, it hasn't started yet but god your videos are so helpful. I've already understood all the concepts and i'm gonna ace this semester too thanks to you. Keep up the amazing work !

  • @Lefthandup
    @Lefthandup 2 ปีที่แล้ว

    All I needed was to figure out how to print the damn thing and now I know, thank you!

  • @MrLovez
    @MrLovez 4 ปีที่แล้ว +70

    " 'Array' starts with 'a-row'", genius!

    • @ORiONGods
      @ORiONGods 3 ปีที่แล้ว +2

      or X*Y, lust like your resolution on your screen. Horizontal x Vertical

  • @labrandom8612
    @labrandom8612 5 ปีที่แล้ว

    I'm just glad I can actually take something from the video. I'm making a blind minesweeper game to help me really understand this. Thanks!

  • @PatienceMTJANE
    @PatienceMTJANE 3 ปีที่แล้ว

    Thank you Alex. your videos are really helpful. Next month am starting my second year, am really looking forward to watching your videos

  • @garbayoo
    @garbayoo 4 ปีที่แล้ว +3

    The best channel in the world? ALEX LEE!!!!

  • @juliangarcia-schroeder3192
    @juliangarcia-schroeder3192 4 ปีที่แล้ว

    Best coding tutor I've found thanks bro

  • @MoguMogu818
    @MoguMogu818 2 ปีที่แล้ว

    I'm in accelerated OOP class for freshman year and working with arrays as of now. I'm doing something involving the Game of Life code and programming it into java, but this time us individually have to write the helper class code for the grid that writes the pixels, and checks if the pixels have already been printed, ecx. It's a bit confusing, but after this video, I think I have more confidence in accomplishing this assingment. I hope I can eventually. I am severrly falling behind in this class.

  • @gabrielpenkert667
    @gabrielpenkert667 4 ปีที่แล้ว +3

    Very nice explanation! Just a little mistake with a number inside the second array - *lotteryCard2 [2] [2], but as I said: Nice!

    • @moetasembellakhalifa3452
      @moetasembellakhalifa3452 4 ปีที่แล้ว

      but why was there no compiler error? or basically, the extra row and column were empty so didn't matter?

  • @sammamrariana5880
    @sammamrariana5880 11 วันที่ผ่านมา

    thank you so much!! you are such a hero indeed- not all the heroes wear capes!

  • @tigranbdoyan
    @tigranbdoyan 4 ปีที่แล้ว +12

    Hey man I really like your content and I love how you explained 2d array's in this video, but do you have to have that music playing in the background its kind of annoying. Still though this really helped me in my comp sci class where my teacher couldn't explain this for the life of him so thanks.

  • @GrandPopsOfficial
    @GrandPopsOfficial 3 ปีที่แล้ว

    Ohhhh men you save my life!!! thankyousomuch,!! I'm from the Philippines

  • @hanzong4243
    @hanzong4243 5 ปีที่แล้ว

    Thank you Sir! please keep doing videos. You can help many more beginner programmers like me more power!

  • @jeroen9130
    @jeroen9130 2 ปีที่แล้ว

    Manh thanks for all your Java videos Alex!

  • @rahulkaura135
    @rahulkaura135 5 ปีที่แล้ว +2

    Thanks this really helped me learn 2d Arrays!

  • @aishahnur7724
    @aishahnur7724 3 ปีที่แล้ว

    Your channel help me a lot! cause I am new in programming worlds! Thank you so much!

  • @TheFeryme
    @TheFeryme 2 ปีที่แล้ว +1

    Watching your video in 2022. Incredible work. Thank you so much, and say hi Ace and Duece for me 🐶

  • @o0QuAdSh0t0o
    @o0QuAdSh0t0o 2 ปีที่แล้ว

    This video induced epiphany for my assignment

  • @whistletoe
    @whistletoe 4 ปีที่แล้ว

    The keyboard clacking is so satisfying

  • @jeremygann9247
    @jeremygann9247 4 ปีที่แล้ว

    I really enjoy your content and attitude. You make a really good tutor!

  • @d1m216
    @d1m216 6 ปีที่แล้ว +6

    Thanks! You're great, keep up the videos! Happy Coding :D

  • @marclesterdelapena8309
    @marclesterdelapena8309 4 ปีที่แล้ว

    Hi! I just wanna say your programming tutorials are really great. It helped me a lot. Thank you. Anyway, if you ever have time to make a tutorial about Java and Database connection, that would be really awesome. Thanks again.

  • @SiKside
    @SiKside 2 ปีที่แล้ว

    Thank you. You make it so easy to understand!

  • @adog6704
    @adog6704 2 ปีที่แล้ว

    You explain this so much better than my teacher

  • @haykeelili8108
    @haykeelili8108 3 ปีที่แล้ว +1

    Step 1. The program should ask the user to enter what row and seat number to reserve. Indicate
    an ‘X’ mark if the seat is reserved.
    Step 2. Repeat Step 1; the program will stop until the user enters a negative number.

  • @BATMAN10N
    @BATMAN10N 3 ปีที่แล้ว

    Ok I knew about multidimensional arrays but that example of the screen blew my mind now I.know where it gets implemented

  • @muzzy4039
    @muzzy4039 5 ปีที่แล้ว

    Video made it much much easier to understand thank you 🙏

  • @Trip183
    @Trip183 4 ปีที่แล้ว

    I have a rail fence cipher assignment using 2D arrays to complete. Any advice or uploads about them would be amazing. Keep up the good work

  • @mohammedsadiq1567
    @mohammedsadiq1567 5 ปีที่แล้ว +1

    1 request🙋‍♂
    Could you implement a linked list using OOP concepts
    And one operation per video
    1.Add to the end
    2.Insert at head
    3.Insert in between nodes
    4.Remove from end
    5.Remove from head
    6.Remove from between
    7.Display the items

  • @Dermotb2
    @Dermotb2 3 ปีที่แล้ว

    Well I never hit the subscribe button as fast! Thank you

  • @mohamedmohidiin6787
    @mohamedmohidiin6787 2 ปีที่แล้ว

    thank you for your claer explanation , yes tommorow i have a lap session

  • @gabrielahernandez4236
    @gabrielahernandez4236 4 ปีที่แล้ว

    Thanks for this! Also, the background music was awesome and the mumbling around 5:40 was super funny lol

  • @estradarigo8
    @estradarigo8 7 หลายเดือนก่อน +1

    Hello, I do have an assignment for a 2D array, it is suppose to print two names the three columns should print the number of upper case letters, the number of second letters in the word, and the third the number of vowels in the words.

  • @priyanshuverma410
    @priyanshuverma410 3 ปีที่แล้ว +1

    most amazzzzzzzzzzzzing teacher evvvvvvvvvvvvvvvvvvvvvverrrr

  • @kaleido6096
    @kaleido6096 3 ปีที่แล้ว +1

    Oh my goodness I understand now!!! I get it!!! I see what’s happening!!!

  • @isabanusrat8085
    @isabanusrat8085 3 ปีที่แล้ว

    Thank you so much, Alex. I have learned so much from you.

  • @adminnimda8632
    @adminnimda8632 2 ปีที่แล้ว

    Super great content, Alex!

  • @warrensnook9435
    @warrensnook9435 ปีที่แล้ว

    As someone who teaches math and computer science in high school, I’m almost certain that 2D arrays stem from the properties of matrices, a mathematical structure that many of us learn a little bit of in Algebra 2 or Precalculus.
    This is why I often encourage any students taking CS classes that they take Algebra 2 as a co-requisite, at a minimum.

  • @kytyson3984
    @kytyson3984 4 ปีที่แล้ว

    your website provide great help to java beginner :) keep it rocking~~

  • @studenteducator6527
    @studenteducator6527 2 ปีที่แล้ว

    Really helpful explanation

  • @zakirullahkhogiani4417
    @zakirullahkhogiani4417 2 ปีที่แล้ว

    Can you give one example with 2D array by identifying even and odd number and calculate the sum of even and odd numbers. Thanks Alex you are the best!

  • @suhedaerturk215
    @suhedaerturk215 3 ปีที่แล้ว

    I like how you are simply explaing everything!Learned from you a lot! But that background music is making hard to focus on task!

  • @Abo-jc9dl
    @Abo-jc9dl 2 ปีที่แล้ว

    aww. you could be anywhere in the world but you're here with me and i appreciate that too.

  • @eyetea8889
    @eyetea8889 ปีที่แล้ว

    Alek, you are a blessing.

  • @HL-iw1du
    @HL-iw1du 5 ปีที่แล้ว +303

    imagine ACTUALLY not being Indian and making a Java tutorial in 2019

    • @cybospy
      @cybospy 5 ปีที่แล้ว +63

      imagine ACTUALLY keeping quiet instead of being a racist. also what's wrong with indian people making Java tutorials on TH-cam, its not like they are asking you money for it instead they are trying to help people learn java for free.

    • @cybospy
      @cybospy 4 ปีที่แล้ว +15

      @Gree yeah sure, cause they don't speak English on daily basis, but still they are making videos in English so they could reach larger audience and maybe help people who live outside hindi-speaking country learn java even tho they are not so good at speaking English. I mean the video is free, who cares.

    • @simon..
      @simon.. 4 ปีที่แล้ว +52

      @@cybospy How is that racist? I see no negative connotation in the comment. It is just an observation that many people from India create these tutorials. What's wrong with that?

    • @roastxbeefx7744
      @roastxbeefx7744 4 ปีที่แล้ว +44

      @@cybospy imagine ACTUALLY not being offended by everything in 2020.

    • @ZuoCruz
      @ZuoCruz 4 ปีที่แล้ว +9

      @@cybospy Indian confirmed

  • @arigrande7249
    @arigrande7249 4 ปีที่แล้ว

    thank you! That video was really helpful and useful🤗💜

  • @puffponken4711
    @puffponken4711 2 ปีที่แล้ว

    Thank u bro you explained very well

  • @satera333
    @satera333 2 ปีที่แล้ว

    If you name your variables in the for loops like 'row' and 'column', its gonna be easier for people to understand what is happening. Also there is so much more to know about 2d arrays so that you can solve problems, I think its impossible to cover in a 9 minute video..

  • @tonyahales4575
    @tonyahales4575 4 ปีที่แล้ว +4

    Great video, thanks. But I have a question: how to show these numbers in a form of a table?

  • @The.Need2Know
    @The.Need2Know 3 ปีที่แล้ว

    Alex I really wanna say thank you no lie

  • @johnfrog9210
    @johnfrog9210 5 ปีที่แล้ว

    Thankyou for making these videos

  • @hannahconley3672
    @hannahconley3672 5 หลายเดือนก่อน

    This is awesome! Thank you!

  • @johannarodriguez4486
    @johannarodriguez4486 3 ปีที่แล้ว

    I have an exam tomorrow on 2d arrays, arraylists, and methods, I already watched the other videos haha

  • @glendonswift2289
    @glendonswift2289 หลายเดือนก่อน +1

    Good day, I want to populate a combobox from a file. How do I get a 2d array from the file?

  • @shalomerror6236
    @shalomerror6236 2 ปีที่แล้ว

    finally i get it
    thank you, Alex

  • @beksultankeldibekov9449
    @beksultankeldibekov9449 ปีที่แล้ว

    Hi Alex !
    Thanks a lot for your tutorials )
    Sometimes I'm struggling but trying to get a main purpose from your lessons )

  • @JonasElias-di5ub
    @JonasElias-di5ub 4 ปีที่แล้ว

    Excellent Master in java