Это видео недоступно.
Сожалеем об этом.
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:
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.
Enhanced For Loop
I like that music in start😅🔥🔥🔥
Name?
Time-stamp ??
@@Shraddhaz_Guitar_Vibes Clap like background music
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.
Di your teaching skills is awesome, you r one of my favourit youtuber.
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.
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!
Thanks for the information!
Microsoft wali didi 😍😍😍😍 best Java teacher.
I guess after your explanation most of us won't even need notes. It was to the point. ❤️❤️
your right
Absolutely right 😍❤️
Kaash mujhe starting se aisi hi teacher mili hoti toh mai top karta har baar
Jeeti Raho Shradaha. Your nailed it. Respect and Love from Dushman Desh. ;)
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
🌻
@kumkumsharma8575
How much time it took you to complete DSA?
@@andyjohnson2046 it's depends on the depth u go
Mca kr li mgr Java mai aaj tk kisi ne ye sb nahi bataya 😭😭😭
Thankyou so much ❤️❤️
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
You're right. It's similar to vector in cpp
I think there are two ways to create ArrayList through Linked List and through Arrays. Not Sure
@@Chachavimdhayak1 in CPP it's continuous. in Java it's not
@@avijitdey992 no arraylist support contiguous memory allocation
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.
@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?
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.
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.
Mam you have made the topic too easy for us to understand. Thank you mam
I think this entire playlist help full for the people those who want to good at DSA❤❤
got to learn alot from u nd ur team ....love u team amn
Awesome tutoring style.. Really good shraddha
Wow!
The way you teach is just amazing ❤
the way you explain the things is awesome
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 👍🏻
Thank you so much for informative session 😊
Thank you so much Shraddha Didi you saved me from getting depressed!!
Waiting for 1 M ❤️
Your voice and your teaching is wonderful mam ❤️
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.
I love the energizing background music at start...
I will watch this when I qualify in JEE
Too good, explained the concepts very well
I Liked the whole lec shraddha di❤thank you so much for such Content.
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.
I meant non-contiguous. I also get that the mistakes happen. I love your channel.
Thanks mam for continuing java class for us 🙏
Plz make a video on,
what and how we use java programming language
Which course is better in java like core java, OOPS, etc...
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
Isn't this true for every data type unless you specifically store values in a file?
@@ayzu7670Yes
Please do make a video on AWS , Types of cloud Computing & PCF(Pivotal Cloud Foundry)
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,🥰
As always .. very easy to understand .. Thankyou so much for this video
Such a wonderful video I loved learning AL
Andaaz apna apna 😂❤️
Can you please make one more video on ArrayList to provide some more details, like problem types and solving approach?
Thank you :)
As always....rocking and easy to understand..👍🤩👍
super best the way you teach
Thank you sister ,you're good teacher
(20 VIEWS) THANK YOU MAM.
Hiii.. I have no coding background.... I have learnt java by seeing this videos. Thank you.
Which clg
Mam is best 💯 thank....
Thank you so much mam i have understand very Vell in this concept
What is the difference between Collection vs Collections...?
please anyone explain!!
Could you pleaae tell me in which video you have provided java memory management of heap and stack ?
Sraddha maam you are great 😊😊😊😊😊😊😊
Very helpful this video
Such a Great Lecture mam
well explained with proper details!!
Thank u mam.explanation is super
u nailed it dear. what an explaination
amazing lecture. Very helpful .Thank You
Great explanation and plse upload more videos related to DSA.
No lag clear cut explanation without much theory
your explanation way is excellent.
Didi , mara pas laptop nai and purchase karna ka liya passa nai hai to ab mai kay karu
giveaway my participate karo
@@yourgamingspot6754 Nai milta bhai
College ke computer ko use karo jo Library me available hote hai
Kaam kr paisa kamaa
@@berozgarbodybuilder9615 comment ko eak sall ho gaya comments ko , ore Abhi mara pasa MacBook Pro hai mara coding skills par
Nice work.. Keep it up
Ur array list lecture video is very good
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 .........
Most important topic in java...POINTERS ...Pls....upload a video on this.....it will be helpful for all
java doesn't have pointers!!!
pointers to hota hi nahi java me
How can we take input from the user in ArrayList of type String?
for(int i = 1; i
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
Hanji zaroor cover kiya jayega😌
So what was it's answer ??
I never regret on my decision on subscribing you
#Apna College & shradda didi rocks
Second I want heart didi waiting for next lec..
I really like this java DSA course Didi please es playlist ko complete kardo DSA ke sare topic upload kardo this is very important
Kash aapke jaisa mujhe bhi coding aata.
🥳 Good to learn it 🙇
Please upload videos back to back
great thank u so much mam everything cleared now 🥰
Recursion pe video banao didi
Didi argument passing ka video chahiye
Amazing shraddha❤️
Well explained didi😎👍
VERY HELPFUL VIDEO............
Thank You Didi !!
over perfection in your videos !
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..?
Hey Shradhha , Please make a video on mental harrssment. I lost my job due to office politics
Zeeerrooooooo !!
btw nice tutorial : )
I use full ArrayList type 😊
awesome concept di
you are amazing ..............
Please upload videos on Map and set
can someone please provide solution of questions in notes of this video( specifically Q3)
tq very much very very usefull.
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?
Mam how to sort in descending order? And how to print inserted elements in reverse manner in ArrayList??
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
Please upload video on map and set
Hey i have a question?? Where is the topic/chapter of Interface and packages, Multithreading??
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
Lauda ka promotion hai durga sir ka
@@unitech5321 Jo achha hai uska promotion to hoga ap jao dekhlo konsa achha hai
Ap java padh rehe ho?
@@debiprasaddash654 han padh rha hu. Tujhe batane ki zaroorat nhi hai idhar ki wo jaakar dekhlo. Jisko jo dekhna hai dekhega😗
@@unitech5321 tujhe mene kuch personally to nehi bola tu dekh na yaha.
@@unitech5321 niche dekh kya cmnt aya hai wrong padhaya hai yaha arraylist ke bareme Google karle doubt hai to
how to convert list of integer to two dimensional array without traversing. can we convert with the help of list.toArray() method?
plz make a video on setting up java projects/classes/ header files in vs code.
Thank you didi