Java 2D ArrayList 📜

Поделиться
HTML-код
  • Опубликовано: 19 дек 2024

Комментарии • 324

  • @BroCodez
    @BroCodez  4 года назад +110

    import java.util.*;
    public class Main {
    public static void main(String[] args) {

    ArrayList groceryList = new ArrayList();

    ArrayList bakeryList = new ArrayList();
    bakeryList.add("pasta");
    bakeryList.add("garlic bread");
    bakeryList.add("donuts");

    ArrayList produceList = new ArrayList();
    produceList.add("tomatoes");
    produceList.add("zucchini");
    produceList.add("peppers");

    ArrayList drinksList = new ArrayList();
    drinksList.add("soda");
    drinksList.add("coffee");

    groceryList.add(bakeryList);
    groceryList.add(produceList);
    groceryList.add(drinksList);

    System.out.println(groceryList);

    }
    }

    • @shanoopta893
      @shanoopta893 3 года назад

      Could you please explain LinkedList?

    • @fatimafarwa6952
      @fatimafarwa6952 2 года назад +1

      It is giving me error in main method

    • @sarayoyl4931
      @sarayoyl4931 Год назад +1

      @@fatimafarwa6952 i added each list at a time, and it worked.

    • @ssnprakash
      @ssnprakash Год назад

      thank you so much guru................

    • @SreejithTS-ug2gj
      @SreejithTS-ug2gj 6 месяцев назад

      if we are using the integer instead of string what will be the change in the code will be for eg: a list of real numbers.

  • @sfundoy5dube59
    @sfundoy5dube59 3 года назад +17

    Yooo Bro I'm nothing without you bro, your work is much appreciated to me bro.

  • @AZ-vt1cw
    @AZ-vt1cw 2 года назад +3

    I was searching for list inside list and I wasn't getting any video.
    but, Bro Code saved the day.
    Thank you for such easy explanation.

  • @lumiere2598
    @lumiere2598 4 года назад +26

    Short and to-the-point :D thank you

  • @HuzaifaJamal-pj8ii
    @HuzaifaJamal-pj8ii Месяц назад

    I was about to buy a udemy course. But found this series, You are awesome bro. God bless you more !!!

  • @SumbaSlice
    @SumbaSlice 3 года назад +12

    Super helpful. Straight to the point and explained with a lot of joy. Thanks!

  • @leonardovillalobos5277
    @leonardovillalobos5277 4 года назад +21

    Well made and simple, yet very informative!

  • @IgorBeneli1014
    @IgorBeneli1014 4 года назад +2

    Dude, you're awesome I have searched the whole internet to find someone clearly explaining this.

    • @BroCodez
      @BroCodez  4 года назад +1

      glad it helps. thanks for watching Igor

  • @pavelkvasnicka6856
    @pavelkvasnicka6856 Год назад

    This is the best Java tutorial for beginners, so you can learn Java and English in one hit. Please keep going! I vote for Java advance tutorial. Thanks a lot Bro

  • @yellowhellow-wi9gi
    @yellowhellow-wi9gi 16 дней назад +1

    thanks bro you are a life saver

  • @Soyosan22
    @Soyosan22 2 года назад +2

    This is an excellent explanation. Logic flow is very clear and concise. Thank you.

  • @zehrairkicatal2156
    @zehrairkicatal2156 3 года назад +1

    Excellent , understandable and very clear teaching in 7 minutes

  • @iyadabofaroch9084
    @iyadabofaroch9084 9 месяцев назад

    One of the best tutorials I have ever seen thank you bro

  • @CyberEscuela
    @CyberEscuela 3 месяца назад

    Bro you are awesome! Simple and straight to the point! I always look forward to the next video!

  • @soumelee5661
    @soumelee5661 2 года назад +1

    you pro at teaching !!

  • @hymavathipaladugu4404
    @hymavathipaladugu4404 7 месяцев назад

    Thanks Bro! you're the best coding teacher i ever had!

  • @orpyperson6376
    @orpyperson6376 2 года назад

    bro code definition: savior, pro, javamaster, legendary teacher

  • @RahmatullahVahdatWithCod-pl2vh
    @RahmatullahVahdatWithCod-pl2vh 3 месяца назад

    wow belive me the most and perfect RUclips Channel For Me ...

  • @vishwaabhavsar6605
    @vishwaabhavsar6605 5 месяцев назад +1

    it was so awesome bro!🤩💥

  • @codymate7579
    @codymate7579 Год назад

    Its very helpful for me thankyou , I love your clear and simple explanation

  • @exitspree
    @exitspree Год назад

    Your channel is an absolute goldmine of information. Thanks brotha!

  • @arnabdutta4662
    @arnabdutta4662 2 года назад +1

    I was having problem how to fetch a single element from 2d list .
    Thank you for clearing my doubts

  • @vickysanth9653
    @vickysanth9653 4 года назад +9

    i your previous video.. while declaring arraylist, you used the code " ArrayList=new ArrayList(); "
    but here in this video, you used the code" ArrayList=new ArrayList (); "
    won't it show some error?

    • @rachelrachel6673
      @rachelrachel6673 6 месяцев назад

      Hello. Did you get an answer for this?

  • @aayushraghuvamshi9134
    @aayushraghuvamshi9134 4 года назад +1

    Helped me even enjoy learning about 2D lists, thank you!!

    • @BroCodez
      @BroCodez  4 года назад

      thanks for watchin Aayush!

  • @kamogelomolepo4285
    @kamogelomolepo4285 9 месяцев назад

    This channel is goated.

  • @zapeeosheikh
    @zapeeosheikh 3 года назад

    My Favorite Programming Mentor ❤️❤️❤️❤️ Thankyou 🥺 All done
    I am a fellow Bro ❣️

  • @Teardropper-nm3ht
    @Teardropper-nm3ht 2 года назад

    really great intro to 2D ArrayLists, thanks!

  • @mukeshprajapati7524
    @mukeshprajapati7524 3 года назад

    very good and simple explanation of your.

  • @RakeshReddyG-g4r
    @RakeshReddyG-g4r Год назад

    quite informative with simple words

  • @Ren-nf4pz
    @Ren-nf4pz 3 года назад

    Thank you big bro, I always enjoy your tutorials. They're plenty fun.

  • @Criticizeer
    @Criticizeer 2 года назад +1

    nice bro

  • @bhatti00007
    @bhatti00007 3 года назад

    bro you made it so easy, i understood in no time. 👍👍👍👍👍👍👍

  • @mimudutta7301
    @mimudutta7301 10 месяцев назад

    simple and easy to understand. Thanks

  • @kemann3815
    @kemann3815 3 года назад

    Love to learn java when watching your videos. Much love ❤

  • @MAULIKPATELnamste
    @MAULIKPATELnamste 4 года назад

    Nobody expounded this concept in such detail or else it is a paid version !!! Thanks !!

  • @alesto8962
    @alesto8962 3 года назад +3

    Love your clear and simple explanation

  • @abdullahakdere8609
    @abdullahakdere8609 2 года назад

    Thanks for the free and quality content

  • @maciejmyslinski7820
    @maciejmyslinski7820 4 года назад +1

    Great tutorials so far. I really enjoy it.

    • @BroCodez
      @BroCodez  4 года назад

      thanks for watching Maciej

  • @abhijeettekale1099
    @abhijeettekale1099 4 года назад +1

    Thanks for these short and knowledgeable video👌

    • @BroCodez
      @BroCodez  4 года назад

      thanks for watching Abhijeet

  • @whisperscribe
    @whisperscribe Год назад

    You are a great teacher ❤❤

  • @panatsmokito914
    @panatsmokito914 2 года назад

    nothing but RESPECT for you fr

  • @dianamilenaarchilacordoba4632
    @dianamilenaarchilacordoba4632 3 месяца назад

    great video!!! I'm infinitely grateful for your dedication and big heart to share this knowledge with the world. Thank you soo much

  • @deep1998-j1v
    @deep1998-j1v Год назад

    Clean & on point, thanks buddy.

  • @jasonbenfrin
    @jasonbenfrin 3 года назад

    The intro music finally reappear after a long time in the playlist.:D

  • @fardilviews
    @fardilviews 3 года назад

    Love From Bangladesh. Thanks, Dear.

  • @andycadcam2265
    @andycadcam2265 2 года назад

    You are a SuperheBro. Your videos are awesome!

  • @EmreYasinAlbayrak
    @EmreYasinAlbayrak Год назад

    2:12 Where does the "How many users?: " on the console screen come from?

  • @yevgenomelchenko732
    @yevgenomelchenko732 Год назад

    Great video and explanation

  • @kapebreak
    @kapebreak Год назад

    the best youtube channel

  • @zexvron
    @zexvron Год назад

    My favorite channel!!

  • @ManVsBugs
    @ManVsBugs Год назад

    Thank you for these easy, straight to the point videos 👍

  • @krushnabelokar5783
    @krushnabelokar5783 3 года назад

    Thank you very much sir, it's really helpfull......keep it up 👍

  • @gopal_software
    @gopal_software 3 года назад +1

    Very useful video

  • @axclelibronviray1262
    @axclelibronviray1262 4 года назад +3

    this is a great tutorial wahhh!!, well made simple :)

  • @PetiteKero
    @PetiteKero Год назад

    Sooo much fun to learn stuff from that one fellow Bro. 😍

  • @kaiiemsawat3859
    @kaiiemsawat3859 3 года назад

    very easy to understand as every other Videos!!! Thanks for your hard works, Bro!!!

  • @NSLASHA99999
    @NSLASHA99999 3 года назад

    Hey Bro, I love your channel so much!

  • @JuliHoffman
    @JuliHoffman 2 года назад +1

    This was incredibly helpful! Thank you!

  • @calebsatsi
    @calebsatsi 3 года назад

    I love your explanation. Great video.

  • @cesara9747
    @cesara9747 3 года назад

    you make programming look easy!

  • @ankurmandal8899
    @ankurmandal8899 Год назад

    EZ and nice explanation bro... thanks..

  • @cchriz4292
    @cchriz4292 Год назад

    thanks! very helpful and well explained

  • @GreenAndSuited
    @GreenAndSuited Год назад

    Short and sweet, thanks!

  • @hectorfernandezdiaz7924
    @hectorfernandezdiaz7924 2 года назад

    Very well done Bro. from Cuba ty

  • @Suraj-rv2dt
    @Suraj-rv2dt Год назад +1

    Out standing 🧍‍♂️ 🙌 😎 💪 👌

  • @OnsGaanNouBraai
    @OnsGaanNouBraai 3 года назад

    Omw appreciate you so much bro!!!
    You have saved me from disaster whitest I cram code for my deadline

  • @Ravitejagarikapati
    @Ravitejagarikapati Год назад

    Excellent..It helped me

  • @yevgenomelchenko732
    @yevgenomelchenko732 Год назад

    I always learn smth new! Thanks bro

  • @soufianeboukssim3928
    @soufianeboukssim3928 11 месяцев назад

    Great explanation

  • @silverbullet_6
    @silverbullet_6 4 года назад

    keep making this videos bro was helpful.

  • @justinbanza4751
    @justinbanza4751 3 года назад

    Thank you very much for this video

  • @shreyashree6781
    @shreyashree6781 3 года назад

    thanks u so much for making this video...plz keep uploading videos based on collections especially multidimensional lists...😊😊🙏

  • @sunnychawla4524
    @sunnychawla4524 3 года назад

    Informative

  • @behrangfattahi9328
    @behrangfattahi9328 2 года назад

    Learning from you so much

  • @chaithdridi2718
    @chaithdridi2718 4 года назад

    You are doing an amazing job Bro 😍

  • @stevewilliams6768
    @stevewilliams6768 4 года назад

    you are a great programmer and thanks for teaching 🥳

  • @Horatius_23
    @Horatius_23 2 года назад

    Very well explained. Thank you! :D

  • @drcod3r329
    @drcod3r329 3 года назад

    Whats i can is just you are soo amazing thanks alot.

  • @infinitepossibilities2614
    @infinitepossibilities2614 3 года назад +1

    Thank you so much bro!! ❤

  • @yeliza2350
    @yeliza2350 2 года назад

    imazingggggg..Totaly , l understood

  • @bassets2450
    @bassets2450 4 года назад

    Keep up the good work,bro!

  • @CHINU720
    @CHINU720 3 года назад

    finally something helpful... thanks

  • @ahsansiraj7505
    @ahsansiraj7505 Год назад

    Goat explaination❤

  • @AHSANALI-ev7sx
    @AHSANALI-ev7sx 4 года назад

    Got it....😍...awsm..your method of teaching is cool and simple at the same time....and yeah...defeat the shitty utube algorithm

    • @BroCodez
      @BroCodez  4 года назад +1

      I hate the algorithm lol

  • @astroscraps
    @astroscraps 3 года назад

    Thank you! Wonderful explanation!

  • @miguelblanco3484
    @miguelblanco3484 2 года назад

    Superb

  • @rayhanulislam1675
    @rayhanulislam1675 4 года назад

    Perfect. Short and to the point man... Great video.. if you need a logo intro for your RUclips Chanel i will do 1 for you for free.. Great tutorial man.. keep it up

  • @riderprovider44
    @riderprovider44 3 года назад

    nice video mate,cheers!

  • @manasvisadhwani9960
    @manasvisadhwani9960 3 года назад

    Thanks! Please do cover all the concepts of Data Structures in Java

  • @Jai-yn3te
    @Jai-yn3te 4 года назад

    Amazingly explained!

  • @Muhammadfaisal-kd9kx
    @Muhammadfaisal-kd9kx Год назад

    short and well explained

  • @vinayaksubramani7161
    @vinayaksubramani7161 2 года назад +1

    a question : isn't it a bad practice to not specify the object type when creating lists? Then why do you not mention the object type when creating the arraylist after the new keyword?

    • @Red00022
      @Red00022 2 года назад

      That style is deprecated. Without the type is okay and recommended.

  • @venkatesanj6611
    @venkatesanj6611 2 года назад

    nice explanation

  • @N.Guy_79y
    @N.Guy_79y 2 года назад

    Get my sub bro.., this truly helped me!

  • @AliKhan-el7yc
    @AliKhan-el7yc 4 года назад

    Great tutorial really helped me out :)

    • @BroCodez
      @BroCodez  4 года назад

      thanks for watching!

  • @chandrakantshinde6
    @chandrakantshinde6 4 года назад

    nice stuff ... keep it up

  • @PeterParker-iy4ib
    @PeterParker-iy4ib Год назад

    Amazing. Do you have any task book for it and tasks for dynamic array as for 1 d so for 2d

  • @danny.3036
    @danny.3036 3 года назад

    Thanks, Bro! ☕ You're awesome!

  • @ToonDubberDuo
    @ToonDubberDuo 4 месяца назад

    precise

  • @eugenezuev7349
    @eugenezuev7349 8 месяцев назад

    thanks! it was informative