India needs more teacher Like you. Things in which I'm struggling is now crystal clear. Thanks for everything.
@tanishmahajan-xj8lt7 жыл бұрын
Very nice Explanation Sir....Sir You are the Aanand kumar(Super 30) of Java Language. Your explanation is very heplful for All the Students who wants to Learn java beacause Learning java via another source or by any other faculty is very very difficult ....Durga sir is the only one who make java as simple as possible for students....Through durga sir knowledge, we can give left and right to the interviewer and sir is passionate about java..by getting a knoeledge from the durga sir session now I can think manually how to work in real time...salute to durga sir for their dedication and thank you so much sir. In my life time I want to see you once...Ultimate teaching style sir....superbb I am a big fan of your sir...once again thank you so much durgasoft team and special thanx to durgasir from the bottom of my Heart....Tanish Mahajan
@shashikumarmacha99725 жыл бұрын
Me to bro...
@rishabhpathak13675 жыл бұрын
Sir can I learn Coding from Durga Sir videos??
@debarshibhattacharyya65423 жыл бұрын
I completely agree...Best teacher of Java in my opinion. I have gone through multiple resources, I think but durga sir's java videos as the best!!
@EngineerVaibhav Жыл бұрын
Attention⚠ In new versions StringBuffer and StringBuilder also implementes Comparable interface... ❤
@tejeswarpala28412 жыл бұрын
why i prefer watching your long videos than other short videos is that concepts are going very strong into head.
@DurgaSoftwareSolutions2 жыл бұрын
Hello Friend. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@wilfred-almeida4 жыл бұрын
Starting from jdk 11, StringBuffer has implemented Comparable.
@shushantsinghrajput11528 ай бұрын
thanks
@Phoenix-lg3mr4 ай бұрын
Thank you
@rockbrand7534 жыл бұрын
thank you so much sir you explained Java Language in a very very detailed way with depth. Now it is easy to understand to anyone, it does not matter whether students are from CS background or not. you are a genius in Java Language. Thank you thank you thank you sir for clearing my all doubts, thank you for providing the most valuable knowledge freely to us on youtube. God will give a lot of Happiness, Health, and wealth to you. Love you sir.... love you ....
@DurgaSoftwareSolutions4 жыл бұрын
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
@akashgupta-dq8ie5 жыл бұрын
i really want to know why those 13 dislikes are there ,what is the reason ? ,The durga sir is the great teacher ,sir thanks for all collection tutorial videos ,God bless you
@DurgaSoftwareSolutions5 жыл бұрын
Hello Akash. 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
@dinkarinjosh5 жыл бұрын
They are followers of the political party, he gave example from.. lol..
@navinsingh27844 жыл бұрын
They want to learn everything in 1 hour i guess 🤣
@utsavmodh96989 ай бұрын
🎉This video was incredibly informative and well-made.🎉 Thank you for sharing this priceless knowledge ✨
@srivani6576 жыл бұрын
sir the knowledge we get from your classes is of great worth.We have to refer many books or articles to get this type of stuff.Through your classes we are able to achieve that easily.Thanks again..
@DurgaSoftwareSolutions6 жыл бұрын
Hello Sri Vani. 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
@joeljacob46858 ай бұрын
This is the best explanation on Comparator so far..... ❤❤ you made everything crystal clear❣
@DurgaSoftwareSolutions8 ай бұрын
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
@stockeducationhub8500 Жыл бұрын
Nobody is like you, In one word you are great.🙏
@DurgaSoftwareSolutions Жыл бұрын
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
@saiprabath64595 жыл бұрын
Thank you very much sir , you are the Best.. Java Mega Power Star Durga sir
@DurgaSoftwareSolutions5 жыл бұрын
Hello Sai Prabath. 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
@sathyanhere7 жыл бұрын
Thanks a lot for all ur videos. Its very help full to understand the concept in depth and ur teaching style is awesome. below is my observation, pls correct if i am wrong. Without using Comparator, we can convert StringBuffer toString, will give the same result. TreeSet t = new TreeSet(); t.add(new StringBuffer("Test").toString()); t.add(new StringBuffer("NewTest").toString());
@mmcooe6 жыл бұрын
You are too good Durga Sir! Hats off to you!! Your videos have been very helpful to me
@DurgaSoftwareSolutions6 жыл бұрын
Hello mmcooe. 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
@sonnix316 жыл бұрын
Again Thank You. Thank You.
@ranveervaghela70303 ай бұрын
Completed watching on Oct 08, 2024 at 9.58 PM :) :)
@shubhi26488 жыл бұрын
Thanks for awesome videos. Can you please elaborate why equals is included in Comparator(I) ? What is it's purpose?
@ahmidahmid93035 жыл бұрын
too much knowledge thanks my mind is full for now
@DurgaSoftwareSolutions5 жыл бұрын
Hello Ahmid. 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
@Pri_-5 жыл бұрын
Thank you so much sir..:)..:)
@viveksharma8785 жыл бұрын
Sir You are Excellent and wonderful
@DurgaSoftwareSolutions5 жыл бұрын
Hello Vivek. 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 жыл бұрын
🤩👏👌🐎🥳
@VikasSingh-dm2oi4 жыл бұрын
sir in newer version of java Stringbuffer implements comparable
@yeshwantpatil88103 жыл бұрын
Yes you are right !!
@nadar2367 жыл бұрын
Nice Explanation
@mahendharkhedhar78878 жыл бұрын
love durgasoft
@rizwanshahid14477 жыл бұрын
Thanks so much, Durga Sir.
@divyatej.a15533 жыл бұрын
sir @ 21:00 why Stringbuffer whynot String? why to convert StringBuffer to String? why not pass directly String?
@DurgaSoftwareSolutions3 жыл бұрын
Hello Divya. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@lpriya0974 жыл бұрын
thank you sir
@AnkitaRai-yx5ww Жыл бұрын
ThAnks sir
@vijayajampani6396 жыл бұрын
your explanation is excellent sir could you please explain how to sort linked list by using comparator
@DurgaSoftwareSolutions6 жыл бұрын
Hello Vijaya. 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
@hasohasao8514 жыл бұрын
@Durga sir, I understand the basics including d concepts also while u r teaching bt sir, how to remember all these syntaxes? I mean sir these r so difficult to remeber all steps... Can u tell whts d procedure plz??? And thank you sir for ur free teaching classes. Staying in India u r lyk real hero sir. 🙏
@DurgaSoftwareSolutions4 жыл бұрын
Hello Haso. 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
@rohitgupta0257 жыл бұрын
Thank you Sir for the video
@EngineerVaibhav Жыл бұрын
145 video completed.. 🎉❤
@chemejee7347Ай бұрын
Sir you said that treeset not allow heterogeneous object but you insert string and stringbuffer object in treeset how?
@DurgaSoftwareSolutionsАй бұрын
Hello Friend. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@KarthikC-ju4fx6 ай бұрын
Hi , Natural sorting order of StringBuffer works well in TreeSet (java 11). but you have mentioned not working.. please clarify
@DurgaSoftwareSolutions6 ай бұрын
Hello Karthik. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@maharshimahi75128 жыл бұрын
sir please upload. ' durga sir string manipulation ' videos
@rajatgoyal14915 жыл бұрын
At 39:08 is the program allow duplicates??
@DurgaSoftwareSolutions5 жыл бұрын
Hello Rajat. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@vedantsingh70114 жыл бұрын
No duplicates will be allowed as there length will same then else part will execute Default compareTo() method and in that if two strings are same then it will return Zero and that string will be ignored."A".compareTo("A") will retrun zero.
@mohanshrawankar62193 жыл бұрын
Hello durga sir, Sir for sorting heterogeneous non comparable objects can we take combination of int and string instead of string and stringbuffer ?? Can you please provide program for SortedSet??
@DurgaSoftwareSolutions3 жыл бұрын
Hello Mohan. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@Shinestart-l9q Жыл бұрын
Sir I have one doubt You have used comparable for natural sorting on empid. but for string sorting u have used comparator. Don't we use natural sorting for alphabet checking?
@DurgaSoftwareSolutions Жыл бұрын
Hello Friend. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@devashishchoubey19656 жыл бұрын
Thnx sir
@shashikumarmacha99725 жыл бұрын
Thank u very much sir... I saw total 199 videos.. Sir in this video... Comparator example not executing in 1.8v.. Why sir.. Wt is d reason....
@DurgaSoftwareSolutions5 жыл бұрын
Hello Shashi Kumar. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@laljitsingh67908 жыл бұрын
endless sir
@vineetkumar86434 жыл бұрын
Sir, what is the use of equals() method in Comparator?
@DurgaSoftwareSolutions4 жыл бұрын
Hello Vineet. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@Astra23914 жыл бұрын
Sir Can we implement sorting for homogeneous data of two element simultaneously e.g if we take String name and string department as input so I want my output should be of alphabetical order of name & department both simultaneously. Please let me know how
@DurgaSoftwareSolutions4 жыл бұрын
Hello Parag. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@sumitkhandelwal49624 жыл бұрын
Sir , new version bhi upload krdo java ke
@DurgaSoftwareSolutions4 жыл бұрын
Hello Sumit. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@navjotlalganj44916 жыл бұрын
nice sir
@DurgaSoftwareSolutions6 жыл бұрын
Hello Chaudhary. 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/U1KKyi You an see more Java videos following link: Java tutorial by durga sir goo.gl/XWb4RL Java 9 by durga sir goo.gl/hXGyBW Java 1.8 Version New Features by Durga sir goo.gl/iHXXYU Adv Java JDBC Tutorial by Durga sir goo.gl/8q16Eo OCJA 1.8 Java SE 8 Programmer - I (1Z0 - 808 ) By Durga sir goo.gl/gC6R7f Core Java by NagoorBabu sir goo.gl/s6Nvj1 Advenced Java by Nagoorbabu sir goo.gl/ZZonzJ CoreJava by Ratan goo.gl/3VM19v Advanced Java jdbc by Ratan goo.gl/Rn2UXr Advjava tutorials - JSP by Ratan goo.gl/Z6ytxm Adv java servlets tutorial by ratan goo.gl/zTwi9y Servlet and JSP Tutorial by anji reddy goo.gl/jZMRUv Advanced Java Jdbc by Anjireddy goo.gl/16CGzX Hibernate byAnjireddy goo.gl/qQojvZ Struts by Anjireddy goo.gl/nE1Eof Spring by Mr.AnjiReddy goo.gl/NfN14R ADV JAVA by Naveen goo.gl/bhSsXF Spring by Mr.Naveen goo.gl/huVwFN Hibernate by Mr. Naveen goo.gl/TY3Wpd Struts by Mr.Naveen goo.gl/Vkmiw7
@-AjayChauhan8 ай бұрын
Completed this video Day 64 of #75daysofcode in Java 19 May, 2024
@sahuamit307 жыл бұрын
You are awesome...so nicely expalined and presented.. one doubt how add(object) calls internally to comapareto() method could you explain ? and how Treeset t = new TresSet(Comparator r ) gives Treeset Comparator property ?
@sudhanshupatwardhan99007 жыл бұрын
Agree!! Very well explained. I have the same doubt. Durga Sir, Can you please resolve this query? Thanks in Advance!!
@aryalnaveen7 жыл бұрын
When you create the object of TreeSet using 'new' keyword, it creates the instance of TreeMap. And calling 'add( )' method of TreeSet internally calls the 'put( )' method of TreeMap(), where it calls the comapre( ) method.
@siddharth44846 жыл бұрын
53:40
@sakthivelraja66587 жыл бұрын
Can we write own sorting by comparable (compareTo(ob j) ? Example : we can also compare Employee name compareTo() method itself . But Which one is good to choose ?
@momedalhouma146 жыл бұрын
why can't we use comparator for stringbuilder object ? i meand we can cast StringBuffer to String Object and use that string to call the compareTo method.
@pareshsojitra88286 жыл бұрын
Hi Sir, Internally HashSet using HashTable thats fine, But in HashSet Constructor they have used the HashMap() object to create the HashSet class object. public HashSet() { map = new HashMap(); } Here i am not clear about that, How the HashTable actually used internally in HashSet ? Could you please help me out
@DurgaSoftwareSolutions6 жыл бұрын
Hello Sojitra. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627,7207212427/28
@kutra1004 ай бұрын
Is k.add("a r rahman") valid ?
@DurgaSoftwareSolutions4 ай бұрын
Hello Friend. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@ashqarkhan10866 жыл бұрын
One doubt, if anyone can help me out. Does Comparator implements Comparable Interface ?? If not then how we are using compareTo() method of comparable interface in MyComparator class which implements Comparator.
@DurgaSoftwareSolutions6 жыл бұрын
Hello Aashqar Khan. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@jananinagaraju84445 жыл бұрын
Do you get answer for your question? if so, can you please post it.
@ankitadixit58755 жыл бұрын
Yeah...and that is why programm while executing showing error
@kalimyahya75855 жыл бұрын
CompareTo is used for string in mycomparator class and string implements compareTo method
@dreamcatcher97125 жыл бұрын
No comparator doesn't implement comparable,if it implements comparable then the class which implements comparator must have to implement both interface class methods which doesn't make any sense. Since string class implements comparable interface, we can call compareTo( ) method on it's object Eg: public Demo{ public static void main(String args[ ]) { System.out.println("a".compareTo("b"));} } O/p: -1 Hope it helps :)
@dinkarinjosh5 жыл бұрын
StringBuffer is comparable. I am not sure why he is saying StringBuffer does not implement Comparable. EDIT: Java 11 which is LTS, has started to implement Comparable to StringBuffer. Thanks to @Shikanjiwala for helping me to improve upon my comment.
@DurgaSoftwareSolutions5 жыл бұрын
Hello Dinkarinjosh. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@asheeshkumar14245 жыл бұрын
भाई तू कही से गलत पढ़ लिया है । ठीक से चेक कर ।
@vedantsingh70114 жыл бұрын
@@dinkarinjosh Bro Now you are checking in your updated java.Video is 4 years old at that time StringBuffer does not implement Comparable.As you only saying "java 11 StringBuffer has started to have comparable." That's true but earlier version does'nt implement Comparable. docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html Hope now it will be clear
@jvsnyc4 жыл бұрын
It is worse than that. It is highly dangerous to place any kind of mutable object in a HashSet or TreeSet, or as a key in a HashMap or TreeMap. If it changes the whole Set or Tree is now broken. This is the reason that StringBuilder/StringBuffer, which are classical cartoon stereotypes of the most mutable objects, didn't bother to implement it. I am not necessarily saying that it was the wrong thing to do it, but maybe they got jealous of C++ and how easy it was to blow yourself up or run yourself over in C++.
@maharshimahi75128 жыл бұрын
sir please upload. ' durga sir string manipulation ' videos
@dhanushsivajaya13563 жыл бұрын
Thankyou sir
@KarthikC-ju4fx6 ай бұрын
Hi , Natural sorting order of StringBuffer works well in TreeSet (java 11). but you have mentioned not working.. please clarify
@DurgaSoftwareSolutions6 ай бұрын
Hello Karthik. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28