I never had known such a beautiful concept.... thank you so much for your efforts..May God bless you with good health
@DurgaSoftwareSolutions3 жыл бұрын
Hello Soni. 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
@haykmkrtchyan70935 жыл бұрын
In my entire career I didn't see such an excellent explanation ever. Thank you sir.
@DurgaSoftwareSolutions5 жыл бұрын
Hello Hayk Mkrtchyan. 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
@EngineerVaibhav Жыл бұрын
149 video completed❤🎉
@shivansugiri31103 жыл бұрын
Sir your God of Java. Your name really suits, Durga maa is deity of Power you are deity of Java. Lots of love from Assam
@DurgaSoftwareSolutions3 жыл бұрын
Hello Giri. 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
@ankitchauhan71044 жыл бұрын
Hashtable : 0:10 Properties : 49:00
@skysefall79762 жыл бұрын
0:00 - Hashtable. 49:00 - properties.
@utsavmodh96988 ай бұрын
Wonderful content,always delighted to watch 🎉your video.
@DurgaSoftwareSolutions8 ай бұрын
Hello Utsav. 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
@sarbeshkumarsingh13287 жыл бұрын
one of the best teachers.................
@kamalapuramsivasankar711 ай бұрын
Thanks sir..
@sanpanchapakesan76546 жыл бұрын
Super knowledge Mr Durga. the Hashtable example I get a different output for the same program. My output is, {23=E, 5=A, 15=D, 16=F, 2=B, 6=C}
@DurgaSoftwareSolutions6 жыл бұрын
Hello San. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627,7207212427/28
@yankiboy75195 жыл бұрын
maybe this code can help u more to understand insertion Hashtable ht = new Hashtable(); ht.put(2,"a"); ht.put(3,"i"); ht.put(4,"f"); ht.put(5,"z"); System.out.println(ht.get(2).hashCode() % 11); System.out.println(ht.get(3).hashCode() % 11); System.out.println(ht.get(4).hashCode() % 11); System.out.println(ht.get(5).hashCode() % 11); System.out.println(ht); output is : 9 6 3 1 {5=z, 4=f, 3=i, 2=a}
@ranveervaghela70302 ай бұрын
Completed watching on Oct 10, 2024 at 3.49 PM :) :)
@srinivasaraovukkum78103 жыл бұрын
Durga team...please you make precise videos of core java just like enum videos...so that we can complete more concepts....
@ashutoshbhardwaj80013 жыл бұрын
Sir it is request from whole world , please make videos on spring framework
@DurgaSoftwareSolutions3 жыл бұрын
Hello Ashutosh. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@tejasmendhule14412 жыл бұрын
god of java🙏🏻✌🏻
@DurgaSoftwareSolutions2 жыл бұрын
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
@sambhasin45 жыл бұрын
Superb Explanation.....
@DurgaSoftwareSolutions5 жыл бұрын
Hello Sumit. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@faizanali2735 жыл бұрын
sir, how can we praise you?? bcz your just amazing superb
@DurgaSoftwareSolutions5 жыл бұрын
Hello 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
@pranaychavan69514 жыл бұрын
Deepest Learning Ever
@DurgaSoftwareSolutions4 жыл бұрын
Hello Pranay. 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
@for4617 жыл бұрын
super explaination sir. It is internal working of hash map also
@amitasn13 жыл бұрын
At 40:11 When you override hashcode() second time , why you didn't divide hashcode method's result by initial capacity of bucket?
@DurgaSoftwareSolutions3 жыл бұрын
Hello Amit. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@rkchauhan34933 жыл бұрын
Bcoz Inside hascode() Method Sir Return i%9. So Sir Divide the Value By 9. Simple
@sanjeevreddy33273 жыл бұрын
Amazing explanation thank you so much sir
@DurgaSoftwareSolutions3 жыл бұрын
Hello Sanjeev. 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
@rizwanshahid14477 жыл бұрын
Thanks so much, Durga Sir.
@MadhaviGavhane7 жыл бұрын
I like.... Your all videos
@2singam5 жыл бұрын
Thank you sir..!
@Skripturz6 жыл бұрын
are search and retrieval the same?
@shahzaibbaloch61406 жыл бұрын
Just awesome
@DurgaSoftwareSolutions6 жыл бұрын
Hello Shahzaib Baloch. 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
@Lakshmankablog2 жыл бұрын
2022 👌🐎👍🤩🥳👏
@shahzaiblashari72506 жыл бұрын
superb
@swapnilzurange2236 жыл бұрын
Hello Sir, very nice explanation. I want to know why Hashtable not allowing null key and value. can you explain please
@DurgaSoftwareSolutions6 жыл бұрын
Hello Swapnil. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627,7207212427/28
@poornimamedar2758 Жыл бұрын
Hello sir, I have one doubt that is Hashmap is implemented on top of hashtable then also it accept null value but where as in hashtable does not accept null key and value. Why Hashmap accept null??
@DurgaSoftwareSolutions Жыл бұрын
Hello Friend. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@NoName-is9qv5 ай бұрын
4:09 12:25 55:50 2:05
@jigneshparmar64815 жыл бұрын
Very well explanation of hashtable but at the end you changed track over globalization which is not required for hashtable
@jvsnyc4 жыл бұрын
I would say if people are going to watch this video at all, this is still important. For the most-part Hashtable is just a legacy class which can be mostly ignored, but Properties is still based on it, so I wouldn't complain about that part. It might be the last place you are using Enumeration, as well.
@akshada33342 жыл бұрын
can any1 tell me why constructor is used here in internal hastable in temp class
@DurgaSoftwareSolutions2 жыл бұрын
Hello Akshada. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@DeepakSharma-gl2ng7 жыл бұрын
my ques is who will invoke hashcode method since its internally called by tostring method but u have overridden tostring also which is not invokeing hashcode method .... sir plzz do reply thank u
@vishalpanwar95506 жыл бұрын
It is called by put method internally to find the bucket location.
@AmitSingh-dd4dt4 жыл бұрын
If Hashtable does'nt implement Random Access, how it is good for search property?
@DurgaSoftwareSolutions4 жыл бұрын
Hello Amit. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@pranavhanwante53014 жыл бұрын
Bro any update about this?
@rishipatel19894 жыл бұрын
@@pranavhanwante5301 Although hashtable not having feature of random access, it finds value based on hash code so that's why it is good for search
@pranavhanwante53014 жыл бұрын
@@rishipatel1989 ok, thanks for replying bro
@sudheertalluri67446 жыл бұрын
Sir, I'm getting different output for the same Program.. And one more thing is does bucket contains key and value pair or only value if only value then how the program output has the same hashcode value that we entered instead of modular hashcode i.e. if we enter 33 as hashcode for capacity 11, then it is stored at bucket-2 and while it is printed then we are getting back 33 in output.. I will be greatful if get answers for these questions, Thank you sir..
@sudheertalluri67446 жыл бұрын
My code: import java.util.*; class HashtableEx{ int i; HashtableEx(int i){ this.i =i; } public int hashcode(){ return i; } public String toString(){ return String.valueOf(i); } public static void main(String ar[]){ HashtableEx h1=new HashtableEx(5); HashtableEx h2=new HashtableEx(2); HashtableEx h3=new HashtableEx(6); HashtableEx h4=new HashtableEx(15); HashtableEx h5=new HashtableEx(23); HashtableEx h6=new HashtableEx(16); Hashtable H= new Hashtable(); H.put(h1,"A"); H.put(h2,"B"); H.put(h3,"C"); H.put(h4,"D"); H.put(h5,"E"); H.put(h6,"F"); System.out.println(H); } } My output: {6=C, 23=E, 2=B, 16=F, 15=D, 5=A}
@DurgaSoftwareSolutions6 жыл бұрын
Hello Sudheer. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627,7207212427/28
@shikharsaxena25664 жыл бұрын
When I tried to execute the same program for HashMap I get the opposite order from what we get in HashTable..so can we conclude that Hashtable goes from Top to Bottom and Right to Left but HashMap goes from Bottom to Top and Left to Right..?? In all cases I got the same pattern for Hashtable and HashMap.
@DurgaSoftwareSolutions4 жыл бұрын
Hello Shikhar. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@rahulchowdhury42274 жыл бұрын
But I'm getting the same order Top to Bottom and Right to Left in case of HashMap too
@shikharsaxena25664 жыл бұрын
@@rahulchowdhury4227 I don't know how you get the same output for HashMap..if it's possible then..share your gmail id I can share you the screenshot of my output which I am getting
@rahulchowdhury42274 жыл бұрын
Are you on Facebook?
@ahmidahmid93035 жыл бұрын
thanks
@elitexmedia28992 жыл бұрын
Hashtable size is doubled after 11 capacity is reached?
@DurgaSoftwareSolutions2 жыл бұрын
Hello Friend. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@mohanrammanikandan79393 жыл бұрын
Can anyone please explain my doubt with respect to the "hashCode()" method? In the below program, I have overridden "hashCode()" and "toString()" methods. why the "hasCide()" method is not called automatically? But in Durga sir's example program (starts from 16:00 to 25:00), the overridden hashcode() method was called automatically? Why so? What is the reason? Can someone please explain? Program: Class Test { int i = 10; psvm(String[] args) { Test T1 = new Test(); System.out.println(T1); } public String toString() { return i+" "; } public int hashCode() { return 200; } } Output: 10
@DurgaSoftwareSolutions3 жыл бұрын
Hello Mohanram. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@sainath2922 жыл бұрын
@Mohanram......dear I am also having same doubt if we print S.O.Pln(t) internally object classto String() will be called then inside that Object class toString() by default hashcode() will be called ......but in this Temp from 16:00 code Temp class We overriden toString() ok when we call S.O.Pln(t); our class toString () will be called it's fine then how our overriden hashCode() will be called.?? ... sir could you please answer?? or MohanRam if u contacted could you please tell me??...let's catch up here how it is ??
@DineshHase Жыл бұрын
Ideally, when u try to print a statement then only toString method will be called.In object class toString() method, hashCode is included.but In your program u return only i+" " .So it will return that only i.e. 10. In durga sir's example hashCode method is used to get hashcode to arrange entry in hashtable......
@mdwahid565 Жыл бұрын
Bahi Object class toString methods calls hashCode( which returns int value )and toString method turns hashCode value into hexadecimal form
@mdkamranansari44932 жыл бұрын
sir while running program of all legacy classes of java collection always error are coming saying cannot find symbol sir how can i solve this problem
@DurgaSoftwareSolutions2 жыл бұрын
Hello Friend. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@xypq83104 жыл бұрын
Is this used in real time java projects any more?
@DurgaSoftwareSolutions4 жыл бұрын
Hello S S. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@jvsnyc4 жыл бұрын
No. You really should be considering this legacy only in case you see it in old code on a job.
@manishjaiswal77685 жыл бұрын
Sir in hashtable if key is string type then how we can develop the program
@DurgaSoftwareSolutions5 жыл бұрын
Hello Manish. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@samudralasrinivas18092 жыл бұрын
sir, where i have to save the properties file
@DurgaSoftwareSolutions2 жыл бұрын
Hello Srinivas. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@suppu30536 жыл бұрын
Hi sir! why is serialization topic not in serial? I mean they are like this: part 3,part2,part4,part5,part6,part7 and where is part1 sir?
@sanjaysinghsolanki29536 жыл бұрын
nice sir
@DurgaSoftwareSolutions6 жыл бұрын
Hello Sanjay. 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
@VivekPatel-qr2bb5 жыл бұрын
sir pls open one branch in delhi
@poojagarg69796 жыл бұрын
thank you ....
@DurgaSoftwareSolutions6 жыл бұрын
Hello Pooja. 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
@soujanyaayachitula92534 жыл бұрын
Sir, i am not getting same results for Hashtable . I am using java 13 .Are there any changes for java 13, Kindly Reply as i have an examination
@DurgaSoftwareSolutions4 жыл бұрын
Hello Soujanya. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@azriaalain28546 жыл бұрын
Hi Sir, I have a small problem with your code. My output is identically the same with this code h.put(5,"A") h.put(2, "B") etc... but with your code i have {6 =C, 2 =B, 5 =A, 23 =E, 15 =D, 16 =F} Sorry but i don't understand. Ty.
@DurgaSoftwareSolutions6 жыл бұрын
Hello Alain. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627,7207212427/28
@MadhaviGavhane7 жыл бұрын
I want some basic programming as a fresher videos... Which are asked in interview. Can you please provide link to download this video? I am waiting for your reply
@DurgaSoftwareSolutions7 жыл бұрын
Hi Madhavi. plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627
@AnkitKumar-td8rc13 күн бұрын
Completed P-14 today (D: 8/12/24 , 9:45 pm)
@nikhilarora32405 жыл бұрын
Hi sir, Thanks for providing such wonderful lectures. Sir I am getting different output while trying to print the Hashtable and it is like this :{5=A,23=E,15=D,16=F,6=C,2=B}
@DurgaSoftwareSolutions5 жыл бұрын
Hello Nikhil. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@gavravdhongadi98244 жыл бұрын
Check your hashCode method
@shristisrivastava44083 жыл бұрын
Use method : hashCode() & not hashcode().
@remorajesh1226 жыл бұрын
Initial capacity of treeset...pls tell.me sir...
@sandesh34875 жыл бұрын
treeset does not have any initial capacity because the underlying data structure is balanced binary tree.
@sairajnagabushan8354 жыл бұрын
When i Execute the Below Code i got some mismatch in expected and actual result, using 1.8 and Win 10, can any one help me in this. public class HashTebleDemo { public static void main(String[] args) { // TODO Auto-generated method stub Hashtable h = new Hashtable(); h.put(new Temp(10), "A"); h.put(new Temp(15), "B"); h.put(new Temp(16), "C"); h.put(new Temp(17), "D"); h.put(new Temp(18), "E"); System.out.println(h); } } class Temp { int i; public Temp(int i) { this.i = i; } public int hashcode() { return i; } public String toString() { return i + " "; } } Note Im Using 1.8 and Win 10 Pro. Actual O/p : {17 =D, 10 =A, 18 =E, 16 =C, 15 =B} Expected O/p : { 10 =A, 18 =E, 17 =D, 16 =C, 15 =B}
@DurgaSoftwareSolutions4 жыл бұрын
Hello Sairaj. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@GalaxyStriker6194 жыл бұрын
This is because u r using method name as hashcode.... However it should be hashCode .... Upper case C
@jvsnyc4 жыл бұрын
@@GalaxyStriker619 This is why I am a fan of @Override annotation!
@priyankashaw12386 жыл бұрын
My output is {5=A, 23=E, 15=D, 16=F, 6=C, 2=B}. Can anybody help.
@DurgaSoftwareSolutions6 жыл бұрын
Hello Priyanka Shaw. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627,7207212427/28
@top5things9682 жыл бұрын
Thank you so much Durga sir .
@UdayKumar-gu2sg4 жыл бұрын
Is there any notes available from Durga sir
@DurgaSoftwareSolutions4 жыл бұрын
Hello Uday. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28