Arraylist with objects in Java

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • A short tutorial on using ArrayList with objects in Java

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

  • @ramimurr2093
    @ramimurr2093 10 หลายเดือนก่อน +10

    Why's it always the videos with the least views that help me the most. Thank you man. This deserves a lot more than 8k views

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

      Glad I could help.

  • @aarthis6216
    @aarthis6216 5 หลายเดือนก่อน +4

    Searched a lot, got clear explanation only here
    Because wherever I search am getting normal arraylist and not with objects.
    Thanks a lot

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

      Its really all the same once you understand it, but I know this isn't obvious from the beginning. I'm glad you got it.🙂

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

    ur explanation r so clear and it is easy to understand

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

      Glad to help

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

    Solid! this helped me so much w/ my intro to java final! thanks!

  • @madarapetersone-composer
    @madarapetersone-composer 3 หลายเดือนก่อน

    Extremely helpful and very to the point video! Thank you! Subscribed to your channel!

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

      Thanks for the feedback, glad I could help.🙂

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

    Finally understood😮‍💨.Thankyou so much sir🙏

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

      Happy to help🙂

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

    Best tutorial ever ❤❤❤

  • @injiplaintealover8620
    @injiplaintealover8620 9 หลายเดือนก่อน +2

    well and clearl explained

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

    love that dbz reference . ITS OVER 9000!!!!

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

      what are you talking about? He clearly said it was completely arbitrary.

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

      R.I.P Akira Toriyama😢

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

    How can i stick together the objects and it's attributes when dealing with sorting , like sorting their names for example how can i not mess the attributes of object in my list , it's need to be intact pls help

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

      Read the names when comparing which objects need to be sorted. But only move the object, don't move the name.
      Example pseudo code :
      if myList.get(i).name > myList.get(i+1).name
      swap(myList.get(i), myList.get(i+1))

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

      @@alleyb62 bro your a savior thank you very much !

  • @user-tf2gs2ei8e
    @user-tf2gs2ei8e ปีที่แล้ว +2

    thank you sir!

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

      My pleasure

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

    thank you thats what i need

  • @Aditya-es3zk
    @Aditya-es3zk ปีที่แล้ว +2

    Thank uuuu soooooooooo muchhhhhhhhhhhhhhhhhhh

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

      My pleasure

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

    How did you get dark mode for your netbeans?

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

      From the top menu: tools-> options-> appearance-> look and feel tab -> flatlaf dark

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

      @@alleyb62 Cool, thank you!

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

    First