Это видео недоступно.
Сожалеем об этом.

ArrayList In Java + Notes | Java Placement Course

Поделиться
HTML-код
  • Опубликовано: 11 ноя 2021
  • Operations on ArrayList - 06:40
    Notes : docs.google.co...
    🔥Java Placement Course : • Introduction to Java L...
    🔥Complete C++ Placement Course (Data Structures+Algorithm) : • C++ Full Course | C++...
    🔥Telegram: t.me/apnikaksh...
    🔥Instagram: / dhattarwalaman
    My RUclips Gear 😉: docs.google.co...
    Notes of this Lecture:

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

  • @nikhilkoshti5390
    @nikhilkoshti5390 2 месяца назад +11

    13:00 I would like to add one thing. There is a concept of enhanced for loops in Java to iterate over the arrays or collections. The code example is as follows,
    `
    ArrayList names = new ArrayList();
    names.add("Alice");
    names.add("Bob");
    names.add("Charlie");
    for (String name : names) {
    System.out.println(name);
    }
    `
    here we don't to give a explicit iterator.

  • @Vinno_vations
    @Vinno_vations 2 года назад +126

    I like that music in start😅🔥🔥🔥

  • @abhinav7297
    @abhinav7297 5 месяцев назад +3

    Always use explicit imports; generally considered good practice in Java programming. Explicit imports make your code more readable and maintainable by clearly indicating which classes are being used from external packages. Explicit imports also help to avoid potential conflicts or ambiguities that can arise when multiple classes with the same name exist in different packages. By specifying the exact classes you need, you make it easier for other developers to understand your code and for the compiler to resolve dependencies correctly.

  • @sameerkhan-xu4ve
    @sameerkhan-xu4ve 2 года назад +7

    Di your teaching skills is awesome, you r one of my favourit youtuber.

  • @honor8mobile54
    @honor8mobile54 Год назад +18

    Hi, miss your content and teaching style is fabulous. Thank you for providing us with such an amazing content and OfCourse the very special notes. just one suggestion please also include time and space complexity with every DSA its very importent.

  • @rishibharadwaj68
    @rishibharadwaj68 Год назад +17

    I think you explain well but there is a lack on concepts which I see. When we are teaching, we need to be much responsible and very clear on our concepts. I went through the video to understand the internal working on ArrayList then I went back to the open code of Java and checked the implementation. Arraylist internally uses ARRAY which is 100% continuous. However here instead of the values as primitives, each index stores the reference to an object in the memory. Thus, we call it stores the data in non-continuous way. But array in itself is continuous in Arraylsit too. Secondly, the YES we need to copy all the elements when an Arraylist goes beyond size and hence it is costly. Only thing which is better here is instead of copying the values we copy the references to the new Array. Thus, the previous objects stay in memory and need not be moved but the older array has to be copied to the newer one and older array becomes eligible for garbage collection.
    Not to demoralise; you are doing great, but please study and prepare the things thoroughly when you post it as a lecture as it may give incomplete/incorrect concepts to the viewers.
    Thanks for the video though. All the best!

    • @whybee1892
      @whybee1892 Месяц назад

      Thanks for the information!

  • @sayanbala6191
    @sayanbala6191 2 года назад +17

    Microsoft wali didi 😍😍😍😍 best Java teacher.

  • @saurabhram9043
    @saurabhram9043 Год назад +29

    I guess after your explanation most of us won't even need notes. It was to the point. ❤️❤️

  • @Sonu-jx6jl
    @Sonu-jx6jl Год назад +3

    Kaash mujhe starting se aisi hi teacher mili hoti toh mai top karta har baar

  • @naumanfarooq4949
    @naumanfarooq4949 Год назад +2

    Jeeti Raho Shradaha. Your nailed it. Respect and Love from Dushman Desh. ;)

  • @kumkumsharma8575
    @kumkumsharma8575 2 года назад +11

    you explained everything very well, literally i was very confused in DSA, like when should we use function or implement sorting from scratch. you are explaining each and every thing. I really love your course. Please release more videos faster. I'm already in 6th sem. and my concepts are not much clear.
    this course is clearing my all doubts.
    thank you
    🌻

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

      @kumkumsharma8575
      How much time it took you to complete DSA?

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

      @@andyjohnson2046 it's depends on the depth u go

  • @paapi_baccha2858
    @paapi_baccha2858 Год назад +4

    Mca kr li mgr Java mai aaj tk kisi ne ye sb nahi bataya 😭😭😭
    Thankyou so much ❤️❤️

  • @androidgamer1304
    @androidgamer1304 2 года назад +24

    The elements of an ArrayList are stored in a chunk of contiguous memory. When that memory becomes full, a larger chunk of contiguous memory has to be allocated (usually twice the size) and the existing elements are copied into this new chunk. We call this chunk the capacity of the ArrayList object.
    (👋You said non continuous)
    Correct me if I am wrong

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

      You're right. It's similar to vector in cpp

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

      I think there are two ways to create ArrayList through Linked List and through Arrays. Not Sure

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

      @@Chachavimdhayak1 in CPP it's continuous. in Java it's not

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

      @@avijitdey992 no arraylist support contiguous memory allocation

  • @AvinashKumar-ps4tw
    @AvinashKumar-ps4tw Год назад +3

    At 3 : 21 min - as you mentioned ArrayList is non -contiguous.?? but
    ArrayLists use contiguous memory. All elements in the ArrayList are located next to each other in the same memory space. This is why retrieving an element from an ArrayList is so fast.

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

      @avinash u are right. I was also wondering how sharadha ji is saying that it is non-contiguous. ArrayList is continous in memory and gets automatically doubled in size once it becomes full and one new element comes.
      This part sounded wrong @apna college please give clarity on this?

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

      I think like arrays Array list are also non-contiguous for types other than primitives because for objects arraylist is actually an array of references which point to the different objects in heap which can be stored at different places.

  • @kamertonaudiophileplayer847
    @kamertonaudiophileplayer847 2 года назад +19

    It would be good if you show the internal realization of ArrayList in RT. It may happen that it is just a wrapper around an array.

  • @saptajitdeb5969
    @saptajitdeb5969 2 года назад +3

    Mam you have made the topic too easy for us to understand. Thank you mam

  • @ShivuShivu-sz1jr
    @ShivuShivu-sz1jr 3 месяца назад +1

    I think this entire playlist help full for the people those who want to good at DSA❤❤

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

    got to learn alot from u nd ur team ....love u team amn

  • @nitinmittal1706
    @nitinmittal1706 Год назад +2

    Awesome tutoring style.. Really good shraddha

  • @saloskilo
    @saloskilo 2 года назад +5

    Wow!
    The way you teach is just amazing ❤

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

    the way you explain the things is awesome

  • @debaprasaddas5196
    @debaprasaddas5196 2 года назад +5

    Doing good job,so thank you so much and please keep update the notes in desc bcoz you know like in other channels it's bit difficult to access notes but here it was easy.So bcoz of this notes again big thanks 👍🏻

  • @nitinpatil5541
    @nitinpatil5541 Год назад +4

    Thank you so much for informative session 😊

  • @hugesman4836
    @hugesman4836 7 месяцев назад +1

    Thank you so much Shraddha Didi you saved me from getting depressed!!

  • @rohanchandane4131
    @rohanchandane4131 2 года назад +7

    Waiting for 1 M ❤️

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

    Your voice and your teaching is wonderful mam ❤️

  • @rajeshgoudkatnam1819
    @rajeshgoudkatnam1819 Месяц назад

    An `ArrayList` stores its elements in a contiguous block of memory. This means that the elements are stored in a continuous manner, similar to how arrays work. The underlying data structure of an `ArrayList` is an array, and as elements are added to the `ArrayList`, they are stored in sequential memory locations within this array.
    When the internal array of an `ArrayList` becomes full and more elements need to be added, a new, larger array is created, and the existing elements are copied to this new array. This ensures that the elements always remain in a contiguous block of memory.

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

    I love the energizing background music at start...

  • @amanmaran6786
    @amanmaran6786 2 года назад +5

    I will watch this when I qualify in JEE

  • @chamoli1987
    @chamoli1987 Год назад +2

    Too good, explained the concepts very well

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

    I Liked the whole lec shraddha di❤thank you so much for such Content.

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

    Arraylist by its name suggests that it’s an improved version of an array. I am pretty sure, it starts with capacity of 10 and than doubles once the initial capacity becomes full. I highly doubt that the location of the elements are contiguous. The memory itself is called static unlike other data structures.

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

      I meant non-contiguous. I also get that the mistakes happen. I love your channel.

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

    Thanks mam for continuing java class for us 🙏

  • @alameenrizwan9417
    @alameenrizwan9417 2 года назад +3

    Plz make a video on,
    what and how we use java programming language
    Which course is better in java like core java, OOPS, etc...

  • @skilz9525
    @skilz9525 2 года назад +6

    one of the biggest drawback of arraylist is it doesn't store a value permanently, as program stops running it will kill the all the values

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

      Isn't this true for every data type unless you specifically store values in a file?

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

      ​@@ayzu7670Yes

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

    Please do make a video on AWS , Types of cloud Computing & PCF(Pivotal Cloud Foundry)

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

    you are so Kind, I think you looks like Punjabi? Isn't it? Though have to say this, You were Rocking, Utub has lot of platforms,channels to learn new things,but You hven done Great job, More informative,developing, thank you & team,🥰

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

    As always .. very easy to understand .. Thankyou so much for this video

  • @mahekjoshi9959
    @mahekjoshi9959 24 дня назад

    Such a wonderful video I loved learning AL

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

    Andaaz apna apna 😂❤️

  • @srijitamandal7678
    @srijitamandal7678 2 года назад +8

    Can you please make one more video on ArrayList to provide some more details, like problem types and solving approach?
    Thank you :)

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

    As always....rocking and easy to understand..👍🤩👍

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

    super best the way you teach

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

    Thank you sister ,you're good teacher

  • @AGoogleuser-ip3vg
    @AGoogleuser-ip3vg 2 года назад +28

    (20 VIEWS) THANK YOU MAM.

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

    Hiii.. I have no coding background.... I have learnt java by seeing this videos. Thank you.

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

    Mam is best 💯 thank....

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

    Thank you so much mam i have understand very Vell in this concept

  • @AnadiHirpara
    @AnadiHirpara 10 месяцев назад +2

    What is the difference between Collection vs Collections...?
    please anyone explain!!

  • @123lightmovies
    @123lightmovies 2 года назад +3

    Could you pleaae tell me in which video you have provided java memory management of heap and stack ?

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

    Sraddha maam you are great 😊😊😊😊😊😊😊

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

    Very helpful this video

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

    Such a Great Lecture mam

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

    well explained with proper details!!

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

    Thank u mam.explanation is super

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

    u nailed it dear. what an explaination

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

    amazing lecture. Very helpful .Thank You

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

    Great explanation and plse upload more videos related to DSA.

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

    No lag clear cut explanation without much theory

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

    your explanation way is excellent.

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

    Didi , mara pas laptop nai and purchase karna ka liya passa nai hai to ab mai kay karu

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

      giveaway my participate karo

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

      @@yourgamingspot6754 Nai milta bhai

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

      College ke computer ko use karo jo Library me available hote hai

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

      Kaam kr paisa kamaa

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

      @@berozgarbodybuilder9615 comment ko eak sall ho gaya comments ko , ore Abhi mara pasa MacBook Pro hai mara coding skills par

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

    Nice work.. Keep it up

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

    Ur array list lecture video is very good

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

    Hii Dii I have a prblm in ArrayList when I type the same code according to you it show an error in which it say { This type ArrayList is not generic, it cannot be parameterized with arguments } I have tried many times can you pls help me .........

  • @rohitdey4551
    @rohitdey4551 2 года назад +3

    Most important topic in java...POINTERS ...Pls....upload a video on this.....it will be helpful for all

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

      java doesn't have pointers!!!

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

      pointers to hota hi nahi java me

  • @kega3747
    @kega3747 2 года назад +3

    How can we take input from the user in ArrayList of type String?

  • @ripulagrawal1306
    @ripulagrawal1306 Год назад +3

    In one of interview I have been asked question on default size of collection, so would be better if you will cover same topic along with one explanation on why collection framework use only Objects not primitve data type? @apnacollege

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

    I never regret on my decision on subscribing you

  • @user-bc6ss6gp3z
    @user-bc6ss6gp3z 5 месяцев назад +1

    #Apna College & shradda didi rocks

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

    Second I want heart didi waiting for next lec..

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

    I really like this java DSA course Didi please es playlist ko complete kardo DSA ke sare topic upload kardo this is very important

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

    Kash aapke jaisa mujhe bhi coding aata.

  • @rajput-p-k
    @rajput-p-k 7 месяцев назад

    🥳 Good to learn it 🙇

  • @jitendrashinde3667
    @jitendrashinde3667 2 года назад +6

    Please upload videos back to back

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

    great thank u so much mam everything cleared now 🥰

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

    Recursion pe video banao didi

  • @er.milanbalsora5047
    @er.milanbalsora5047 2 года назад +1

    Didi argument passing ka video chahiye

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

    Amazing shraddha❤️

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

    Well explained didi😎👍

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

    VERY HELPFUL VIDEO............

  • @Sumeet_100
    @Sumeet_100 Месяц назад

    Thank You Didi !!

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

    over perfection in your videos !

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

    You said, arraylist is a list of arrays... how can elements be like integers.. can you explain how do we use functions of arraylist to get, update, delete arrays in arraylist..?

  • @HarshaliSanyo24
    @HarshaliSanyo24 5 месяцев назад

    Hey Shradhha , Please make a video on mental harrssment. I lost my job due to office politics

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

    Zeeerrooooooo !!
    btw nice tutorial : )

  • @KOMIT..KUMAR12
    @KOMIT..KUMAR12 9 месяцев назад

    I use full ArrayList type 😊

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

    awesome concept di

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

    you are amazing ..............

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

    Please upload videos on Map and set

  • @y3rdop478
    @y3rdop478 12 дней назад +1

    can someone please provide solution of questions in notes of this video( specifically Q3)

  • @VikasVikas-es7eg
    @VikasVikas-es7eg 2 года назад

    tq very much very very usefull.

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

    You said Araaylist store data in non continuous form , then how they are link to each other?
    just like linked list it use the pointer?

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

    Mam how to sort in descending order? And how to print inserted elements in reverse manner in ArrayList??

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

    Didi time management pr ik video.. Kyuki Mai back-end seekh raha hu node Se or dsa bhi or to or college syllabus bhi plzzz

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

    Please upload video on map and set

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

    Hey i have a question?? Where is the topic/chapter of Interface and packages, Multithreading??

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

    Request to u
    Details me banao esa adha adhura mat banao collection kya hai pata nehi direct Arraylist 🙄
    If anyone want details follow durga sir's vdo

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

      Lauda ka promotion hai durga sir ka

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

      @@unitech5321 Jo achha hai uska promotion to hoga ap jao dekhlo konsa achha hai
      Ap java padh rehe ho?

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

      @@debiprasaddash654 han padh rha hu. Tujhe batane ki zaroorat nhi hai idhar ki wo jaakar dekhlo. Jisko jo dekhna hai dekhega😗

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

      @@unitech5321 tujhe mene kuch personally to nehi bola tu dekh na yaha.

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

      @@unitech5321 niche dekh kya cmnt aya hai wrong padhaya hai yaha arraylist ke bareme Google karle doubt hai to

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

    how to convert list of integer to two dimensional array without traversing. can we convert with the help of list.toArray() method?

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

    plz make a video on setting up java projects/classes/ header files in vs code.

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

    Thank you didi