Core Java With OCJP/SCJP: Collections Part-4 || Array list

  Рет қаралды 269,086

Durga Software Solutions

Durga Software Solutions

Күн бұрын

Пікірлер: 103
@deviarumugam8546
@deviarumugam8546 4 жыл бұрын
If schools and colleges follow such teaching methodology(not only for Java) no student will suffer due to unemployment. Students will get more confident if they get such way of input. I was a teacher once and I feel bad that y I am not able to take such sessions. Thank you so much sir. U r doing a wonderful job.u r so blessed by god. And we r blessed to listen to ur sessions. Hats off to u sir.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Devi. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@yashlokhande2890
@yashlokhande2890 8 ай бұрын
No words and no comparison for you Sir.
@noumansaiyed343
@noumansaiyed343 2 ай бұрын
Awesome explanation sir 👏🏻👏🏻👏🏻👏🏻🙌🏻🙌🏻
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 ай бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@dee5903
@dee5903 6 жыл бұрын
durga is a gem and deserves to be called SIR.
@farnaazkauser1993
@farnaazkauser1993 6 жыл бұрын
He can make even complex things sound so simple... what a talented man!
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Farnaaz Kauser. Thanks for your valuable feedback.It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@fani8166
@fani8166 5 жыл бұрын
Durga Sir, you are one in a million. I wonder how you get compensated, but i will make sure to give back to you once i am employed as a java developer. I would like to call every one of us who are benefited from his video and change our life, please lets give monetary gift for Durga Sir as a form of appreciation and support . Such kind of people should be acknowledged and praised!
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Fani. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@ManpreetSingh-ei3gc
@ManpreetSingh-ei3gc 7 жыл бұрын
sir you are man with a golden heart. God bless you . :)
@anadisharma5241
@anadisharma5241 3 жыл бұрын
Best leactures sir, I have learnt a lot from your java lectures. you are the best teacher 👌
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Anadi Sharma. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@niljejurakar6382
@niljejurakar6382 2 жыл бұрын
thanks for putting this masterpiece for free on youtube. very nice explanation
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@sachindandge764
@sachindandge764 2 жыл бұрын
True if this course were in Pune imagin the course fees..it would have never been affordable for the students 🤣
@sachinjadhav2856
@sachinjadhav2856 6 ай бұрын
I am speechless what a explanation ❤
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 ай бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@sachindandge764
@sachindandge764 2 жыл бұрын
You are a life changing person sir..🙏
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
Hello Sachin. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@happyTimesWithShweta
@happyTimesWithShweta 8 жыл бұрын
am greatfull to have this kind of sir with open heart. thnku sir
@krutikawankhede1970
@krutikawankhede1970 6 жыл бұрын
The best videos to prepare for interview.
@johncenakiwi
@johncenakiwi 6 жыл бұрын
Durga sir.. you're the best. So much of free knowledge is floating on your channel that is helping me everyday. Is there a way I can make a donation?
@KuldeepDelhiCapture
@KuldeepDelhiCapture 5 жыл бұрын
you can buy online course and here u can share login details that's best donation.....
@jitenderraghuvanshi8525
@jitenderraghuvanshi8525 3 жыл бұрын
@sheshadri reddy If he missed anything, you can add it in the comments. No?
@businessgamerprb5398
@businessgamerprb5398 7 ай бұрын
John make sure I don't find you... If I find you it's over for you... Run now or else....
@ranveervaghela7030
@ranveervaghela7030 2 ай бұрын
Completed watching on Oct 05, 2024 at 12.24 AM :) :)
@EngineerVaibhav
@EngineerVaibhav Жыл бұрын
139 video completed❤🎉
@dasbabu5675
@dasbabu5675 3 жыл бұрын
Thanks for sharing your best in class knowledge...
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Dass. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@-AjayChauhan
@-AjayChauhan 7 ай бұрын
Completed this video Day 62 of #75daysofcode in Java 17 May, 2024
@festusaudu6273
@festusaudu6273 3 жыл бұрын
This is the page Java tutorial page I've come across... Great job
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Audu. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@DILIPKUMAR-ws7td
@DILIPKUMAR-ws7td 3 ай бұрын
Thanks sir for it...!!
@PraveenSharma-o4r
@PraveenSharma-o4r 5 күн бұрын
As it is 8 years old videos(old java versions) so it is efficient or applicaple for now??
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 күн бұрын
Hello Praveen. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@rishabhchaurasiya9536
@rishabhchaurasiya9536 3 жыл бұрын
I want to know that if we will use arraylist in the place of array then how to write loops , how can we pass that arraylist in method call, how to write conditional statement etc. Means what will be the changes we have to make if we use arraylist.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Rishabh. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@samudralasrinivas1809
@samudralasrinivas1809 2 жыл бұрын
What is the different between l.add(0,"venky"); and l.addFirst("ccc"); Both indicated add the value at starting point
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
Hello Srinivas. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@khajalieubarrie5088
@khajalieubarrie5088 2 жыл бұрын
To add to the first index of your list you can use l.addFirst(“ccc”); Another way is to use l.add(0, “ccc”); This second one specify the zeroth index as the point to insert or add a value to the list. You can use it to add to any other index or position in the list like l.add(3, “ccc”); The first one by default won’t add to any other index except the zeroth index.
@RahulKumar-xr5nh
@RahulKumar-xr5nh Жыл бұрын
is it possible (l.removeLast();) method without stack and also same for l.addFirst("CCC");
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Rahulkumar. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@sakshamsingh6351
@sakshamsingh6351 4 жыл бұрын
Amazing teacher.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Saksham. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@sameepkaushik4583
@sameepkaushik4583 3 жыл бұрын
a small query that if in retrieval order at mid of the records it retrieves data by the address so how LinkedList fastest in insertion and deletion because here also it checks the next address and then it will insert or remove
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Sandeep. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@ahmidahmid9303
@ahmidahmid9303 5 жыл бұрын
linked lists are very powerful DS paired with an array and wonders can happen
@mohammedsuhailbasha4860
@mohammedsuhailbasha4860 5 жыл бұрын
Very beautiful explaination.thank you so much sir.please upload design patterns video's in java sir.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Suhail. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. For Design Patterns videos, Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@pratiktekade9126
@pratiktekade9126 2 жыл бұрын
great
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
Hello Pratik. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@yogi3541
@yogi3541 3 жыл бұрын
guys am having one doubt array list size is 10 ,now i want add 11 object to that ,durga sir told the formula ,with that formula the size of the new arrylist is 15 now adding the 11th element reamaing 4 spaces waste,so it will create memory waste,how it will be reslove,
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Yugender. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@DilSeDesee
@DilSeDesee 7 жыл бұрын
If i want to insert an element at middle position of LinkedList how can it be faster than ArrayList. Because LinkedList has to traverse till middle which is slow operation for LinkedList. same for deletion ?
@jvsnyc
@jvsnyc 4 жыл бұрын
You can use a list iterator to go thru the list only once, casually adding and deleting nodes as you go thru. If you use the indexes, linked list will waste all its time in the way you described, of course.
@MrGvamsikrishna9
@MrGvamsikrishna9 8 жыл бұрын
Hi Sir, I have a question: If identifying an object at particular index is very slow at LinkedList, How could it be faster for insertion/deletion. Because it has to go all the way of nodes for identifying the object to be removed or to be added there..??
@mysteriousmask6036
@mysteriousmask6036 7 жыл бұрын
Though LinkedList have to go each node for insertion or deletion of elements at middle, but it only replaces pointers of nodes where as arraylist need (arraylist size-1) shifting which causes performance degradation compare toLinkedList
@niteendhule745
@niteendhule745 5 жыл бұрын
Hello Vamsi, the biggest headache of ArrayList in insertion at any particular place is of Shifting of remaining object which takes a lot of efforts other than searching and then just changing the pointer in LinkedList. Think of bugger picture , If we want to add or delete the record of AADHHAR Card details in UIDIA of India. Now think if we used ArrayList then shifting of other crores of records. If we used Linked List then we might take time to search the item at the specified index but we will get rid of shifting operation and we not needed to use any other large size data structure in case of ArrayList.
@ernavneetkverma
@ernavneetkverma 7 жыл бұрын
How linked list is best for insertion in middle? I understand on insertion in somewhere in middle of a linked list there would not be shifting of remaining elements like in the arraylist but again to reach to that element the iteration needs to be done from 1st element to 2nd element, to 3rd and so on, unless we reach the middle element where we need to insert, right? or is it something i am missing here?
@jvsnyc
@jvsnyc 4 жыл бұрын
Nobody ever answered. If you had an iterator going thru and adding at specific places you could benefit from it. That is, you might have a case where you add many of them at different places going thru your LinkedList only once.
@rizwanshahid1447
@rizwanshahid1447 7 жыл бұрын
Thanks so much, Durga Sir
@vjs2847
@vjs2847 7 жыл бұрын
if default size of any arralist is 10 then while printing the arraylist.size() after the declaration of array, why it prints 0 ...since default size is 10 then it should print 10 right?
@praveenchauhan009
@praveenchauhan009 7 жыл бұрын
size() prints the number of elements in ArrayList. when you have declared 10 it means maximum 10 element would be added before it grows again
@sadbhavanabharadwaj7958
@sadbhavanabharadwaj7958 7 жыл бұрын
10 is the initial capacity n nt size.....which means dat d max no. of elements dat can be inserted is 10..if d no. of elements increases by 10 den a new ArrayList will b created with size equal to (current_size*3/2) +1....n d already existing elements will b copied to d newly formed ArrayList..while the previous object of ArrayList is ready for garbage collection
@dhanushsivajaya1356
@dhanushsivajaya1356 3 жыл бұрын
Thankyou sir
@vaibhavsingh2197
@vaibhavsingh2197 3 жыл бұрын
Where to gets their implementation (Arraylist ,linkedlist and other)
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Vaibhav. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@Pri_-
@Pri_- 5 жыл бұрын
Thank you Sir.
@bibeksatapathy2893
@bibeksatapathy2893 7 жыл бұрын
Nice video Sir!
@vamsikrishnaboyina9753
@vamsikrishnaboyina9753 8 жыл бұрын
Durga Sir, please upload class on @Suppresswarning annotation
@Lakshmankablog
@Lakshmankablog 2 жыл бұрын
👌👏🤩🥳🐎
@zaidansari2262
@zaidansari2262 Жыл бұрын
T = 43:38
@mounikachowdary597
@mounikachowdary597 8 жыл бұрын
Is there any chance of printing capacity of ArrayList?
@akshay27122
@akshay27122 8 жыл бұрын
I think using method lastIndexOf(null), This may work for you or else we can write any logic :)
@jitenderraghuvanshi8525
@jitenderraghuvanshi8525 3 жыл бұрын
You can not. Closest you can get to know the initial capacity is if you provide it yourself.
@nalinneeraw605
@nalinneeraw605 7 жыл бұрын
Hi Can you please tell me what is the maximum size of arraylist?I was asked this question in an interview.default initial capacity is 10.But I want to know the maximum capacity.Maximum number of objects we can insert in array list
@satyanagajyothi4514
@satyanagajyothi4514 7 жыл бұрын
list interface didnt specified explicitly about maximum capacity.. but u can insert till u ran out of memory i guess..
@sujeetkumar-mm7co
@sujeetkumar-mm7co 4 жыл бұрын
Arraylist take integer as the argument, so the maximum capacity is 2147483648, but your memory should support this range at the runtime
@utsavmodh9698
@utsavmodh9698 9 ай бұрын
@saurabhpal6210
@saurabhpal6210 5 жыл бұрын
Sir why Arraylist is Non-Syncronized
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Saurabh Pal. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@jvsnyc
@jvsnyc 4 жыл бұрын
You often don't need synchronization. If you want a synchronized ArrayList there are helper methods to get one.
@faizanali273
@faizanali273 5 жыл бұрын
sir how can i praise you, you are the gem. thank you
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Faizen Ali. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@abalakrishna5244
@abalakrishna5244 7 жыл бұрын
hi sir, i attended in one of the java interview in that they asked to me Implement Array list? I wrote all the program what ever you discussed in video.....But they said to me including along with this also implement methods which are present in array list?....Is it provided in any video sir?????
@sujeetkumar-mm7co
@sujeetkumar-mm7co 4 жыл бұрын
Bro arraylist is a class not interface to implement it.
@jitenderraghuvanshi8525
@jitenderraghuvanshi8525 3 жыл бұрын
Maybe you told the interviewer that you are the "King of Collections" :D. Anyway, maybe he was checking if you know about the methods of ArrayList or not. You can always check the source code of any class online. For example, trimToSize() method is present in the ArrayList but not in the List interface. You can use this method to trim the capacity of the ArrayList to the current size of the elements. Suppose, you add four elements to a list. The initial capacity will be 10. But if you call trimToSize() on that list, capacity will be updated to 4.
@tharunkumar8430
@tharunkumar8430 8 ай бұрын
43:00
@rahulnag9582
@rahulnag9582 5 жыл бұрын
Can anyone explain this. Book b1=new Book(101,"Let us C","Yashwant Kanetkar","BPB",8); Book b2=new Book(102,"Data Communications & Networking","Forouzan","Mc Graw Hill",4); Book b3=new Book(103,"Operating System","Galvin","Wiley",6); list.add(b1); list.add(b2); list.add(b3); for(Book b:list){ System.out.println(b); String A = new String("A"); String B = new String("B"); String C = new String("C"); String d = new String("D"); String e = new String("E"); ArrayList aall = new ArrayList(); aall.add(A); aall.add(B); aall.add(C); aall.add(d); aall.add(e); for(String o:aall) { System.out.println(o); } For the Book data type the output is coming as some address of b1, b2, and b3 but for String type the output is coming as A, B, C Please explain this difference
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Rahul. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@rahulnag9582
@rahulnag9582 5 жыл бұрын
@@DurgaSoftwareSolutions ya sent,.....please check.
@jvsnyc
@jvsnyc 4 жыл бұрын
You forgot to implement .toString() method for your Book class! That's all.
@dwaipayandey4729
@dwaipayandey4729 3 жыл бұрын
Synchronized & non synchronized can anyone explain
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Dwaipayan. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@shruthisjarali
@shruthisjarali 8 жыл бұрын
what is thread safe concept
@ShubhamSoni-cr2ex
@ShubhamSoni-cr2ex 6 жыл бұрын
Learn Multithreading first!
@devashishchoubey1965
@devashishchoubey1965 5 жыл бұрын
sir i want to meet you..
@theartist8835
@theartist8835 5 жыл бұрын
so do I !
@srikanthreddy6991
@srikanthreddy6991 5 жыл бұрын
Why I didn't see even single line of code in entire video
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Srikanth. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@srikanthreddy6991
@srikanthreddy6991 5 жыл бұрын
Sir, u did not understand my comment. My intention is I want to see full of coding rather than theory part.
Core Java With OCJP/SCJP: Collections Part-3 || collection & collections|| list & set
1:00:55
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Core Java With OCJP/SCJP: Collections Part-2 || 9key interfaces
1:31:50
Durga Software Solutions
Рет қаралды 399 М.
Core Java With OCJP/SCJP: Collections Part-7 || Setinterface||ShortedSet
1:20:55
Durga Software Solutions
Рет қаралды 209 М.
Core Java With OCJP/SCJP: Collections Part-8 || TreeSet
1:16:30
Durga Software Solutions
Рет қаралды 208 М.
Core Java With OCJP/SCJP: Collections Part-10 || string object in Treeset Example
1:50:08
Differences between String  and StringBuffer
7:57
DURGA EDUCATION
Рет қаралды 548 М.
Hardy's Integral
13:47
Michael Penn
Рет қаралды 1,7 М.
Is an Indian MBA Worth It? | Reality Check | Warikoo Careers Hindi
17:51
Core Java with OCJP/SCJP: Multi Threading Part-7 || synchronization part-1
1:35:15
Durga Software Solutions
Рет қаралды 405 М.
Collections - Difference between Arrays and Collections
10:43
Durga Software Solutions
Рет қаралды 650 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН