Differences between Comparable and Comparator

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 52

  • @varunaggarwal1995
    @varunaggarwal1995 7 років тому +30

    i am from delhi and i watch all of his video at 2x speed and still i am able to understand. All these videos were really helpful and one can easily see how much effort he puts in while teaching. Keep the good work up sir!!!

    • @SunilKumar0261
      @SunilKumar0261 6 років тому

      You just saved half of my lifetime...

  • @mitthusingh1564
    @mitthusingh1564 6 років тому +4

    tq sir.i attended ur all session lyk servlet and jsp.bt my bed luck i m nt able to attend ur core java session.i just compleated whole java durgasoft and seraching job..really u r grt.specially one thing i learned except from java.durga sir anytym whatever the situation he is alwys smiling.really its grt thing .really sir in second word u r almost god ...tq sir .

  • @saadmanahmed860
    @saadmanahmed860 4 роки тому +6

    why are u so amazing sir. i can't stop finishing my regards and love for u. love from bangladesh

  • @dharmendharjarwani5670
    @dharmendharjarwani5670 6 років тому +2

    sir i saw all the videos , your explanation amazing ,. i can't say something but how easily did you explained this very hard topic for beginner, you explained each topic from 'base to deep' you are great , lovely, and lots of thank to you . God bless you..

  • @alsan8935
    @alsan8935 4 роки тому +3

    Even today I’m watching...thanks sir😊😊

  • @xadmin
    @xadmin 8 років тому +2

    After watching these collections videos my whole concept is very much crystal clear.thank you sir! please upload map videos also.. waiting for maps lecture..i visit everyday for maps lecture.

  • @ankitakolhe9142
    @ankitakolhe9142 8 років тому +1

    Whole concepts are cleared.. Awesome VIdeos from Durga Software..

  • @subbaraoy6458
    @subbaraoy6458 9 років тому +2

    Wonderful tutorial.I am feeling so happy after playing these videos.If you link one video to next video(sequence) it is very helpful to new people. even freshers also easily learn java.since 1 week on wards every day I am watching these videos.Wonderful.

  • @banup4077
    @banup4077 5 років тому +2

    Really great hardwork. Thanks👏🏻👏🏻👏🏻👏🏻👏🏻👏🏻

  • @vijayghate8716
    @vijayghate8716 3 роки тому +2

    Asome explanation Durga sir I understand easily concept....

  • @shivamkumar-qs7er
    @shivamkumar-qs7er 5 років тому +2

    You're trust of Java's field job seeker

  • @ravikiranmoram1350
    @ravikiranmoram1350 11 місяців тому +1

    @durga sir we can do reverse sorting order in Comparable , by just changing sign in compareTo method, so the point here is we can do natural default sorting as well as reverse sorting in Comparable . So my final conclusion is both sorting are available in comparable and comparator,but multiple sorting techniques(eg sorting based on age and name available in Comparator but in Comparator we can sort either by name or age).please correct me if i am wrong

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  11 місяців тому

      Hello Ravikiran.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

  • @sainathsajjan145
    @sainathsajjan145 7 років тому

    Great Job Sir,
    we are giving a best Knowledge of Java .......
    Thank you Sir...............

  • @chithanurivenkatesh5575
    @chithanurivenkatesh5575 4 роки тому +5

    You are doing a great service sir. Thanks a ton!!
    QQ: When 'MyComparator' class implements the Comparator interface, why is JVM NOT asking to define the equals() method inherited to MyComparator class and why is it asking to define only the compare() method? Please help me in understanding this. Thanks in advance!!

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  4 роки тому

      Hello Venkatesh.
      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

    • @anujtrikha3630
      @anujtrikha3630 4 роки тому +1

      @vanketesh because object class is by default direct or indirect super class of all classes in Java so methods of object class are also inherited in every class in Java and in object class equals method is predefined so it is inherited in our class by default so that inherited method is overriding equals method of comparator interface this is the reason why we don't need to implement equals() of comparator

    • @anujtrikha3630
      @anujtrikha3630 4 роки тому

      @chithanuri vankatesh

  • @vikashyadav-nr4my
    @vikashyadav-nr4my 9 років тому +2

    Hello Sir..
    Thanks for this wonderfull tutorials on Collections...
    Could you please upload more on Collections -- like on Hash map ,how it work internally.concurrent hash map ,its internal working..
    I am looking for thsese thnings but not able to find any where so that I can understand..
    Thanks.

  • @betterworld2882
    @betterworld2882 10 років тому +3

    Thank you sir, its really very useful info. Could you please upload Map related info and also multi threading.
    In comparator, what's the use of 'Equals' method and how is it used?

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  9 років тому +1

      BetterWorld
      View 42 videos on Collections in Java,
      ua-cam.com/video/rI3VkItC0eA/v-deo.html
      View 5 videos on JSF,
      ua-cam.com/video/rAa1wwWLw1Y/v-deo.html
      View 50 videos on Oracle,
      ua-cam.com/video/pX5WJctn3Kw/v-deo.html
      View 35 videos on Hibernate,
      ua-cam.com/video/SZ8abQ3vmdc/v-deo.html
      View 115 videos on Data Structures,
      ua-cam.com/video/oAAiBQFSEik/v-deo.html
      View 58 videos on Struts,
      ua-cam.com/video/nYqsnrHGsQg/v-deo.html
      View 74 videos on Spring,
      ua-cam.com/video/YpsFT50mths/v-deo.html
      View 41 videos on CRT,
      ua-cam.com/video/fDRnKPyvR14/v-deo.html
      View 12 videos on JAVA Reflections API & Annotations
      ua-cam.com/video/BxCw0uTxZRs/v-deo.html
      View 39 videos on Java Real Time Project Implementation on Spring,Struts & Hibernate,
      ua-cam.com/video/iKnb0AgKZJ0/v-deo.html
      View other videos on ADV JAVA
      ua-cam.com/video/83jLqTAbqQU/v-deo.html

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  9 років тому +2

      Durga Software Solutions
      View 9 videos on ENUM,
      ua-cam.com/video/T1fMWwI9D1E/v-deo.html
      View 16 videos on Serialization,
      ua-cam.com/video/bIzfrvdt7qM/v-deo.html

    • @Percy47
      @Percy47 6 років тому

      Durga Software Solutions

  • @RAJATGHOSH1020
    @RAJATGHOSH1020 7 років тому

    Tussi Great ho Sirji..thank u for all the helpful videos. Kudos to ur work. :)

  • @naveenprasanth1233
    @naveenprasanth1233 3 роки тому +2

    Actually RuleBasedCollator just extends Collator , it doesn't implement any Comparator interface

  • @adithyasomayagi649
    @adithyasomayagi649 9 років тому

    awesome explanation... can u upload... features.. of java as well

  • @shashankrustagi2812
    @shashankrustagi2812 3 роки тому +2

    Durga = JAVA

  • @prashantkamble898
    @prashantkamble898 7 років тому

    very useful video. thank you. I am also from Maharashtra.

  • @chandujcsr5097
    @chandujcsr5097 9 років тому

    vry gud explanaion.....but i want some example programs based on the what u r explaing concepts..

  • @leesubiramaniyam2704
    @leesubiramaniyam2704 8 років тому

    good and please include with practical information

  • @AkashMishra-me7fz
    @AkashMishra-me7fz 6 місяців тому +2

    Its 2024

  • @hassan4117
    @hassan4117 8 років тому

    his accent is so funny....lol
    loved the explaination

  • @TravelWorld1
    @TravelWorld1 10 років тому +1

    good video

  • @yoshitamahajan353
    @yoshitamahajan353 4 роки тому +1

    Which is better among both comparable and comparator?

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  4 роки тому

      Hello Yoshita.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

  • @healthylife7140
    @healthylife7140 8 років тому

    thank you sir

  • @i.am.gaurav.khanna
    @i.am.gaurav.khanna 7 років тому

    Please add tutorials for Map :-)

  • @sercan272727
    @sercan272727 10 років тому

    cooooommmpaaarable

  • @yaswanthy9909
    @yaswanthy9909 8 років тому

    would have been good if you have eloborated the first point as that is the main difference !

  • @rohit-ld6fc
    @rohit-ld6fc 7 років тому

    liked other videos..but this is not in detail....should have given an example

  • @amitpathak8681
    @amitpathak8681 9 років тому +1

    rather than theoretical can you plz be more real world specific.Its like you are just feeding the words not logic

    • @nikhilkodipaka9117
      @nikhilkodipaka9117 9 років тому

      +Amit Pathak Sir clearly explained in his previous tutorials. Please go though it

  • @koilk
    @koilk 9 років тому

    i thought comparator contains compare()

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  9 років тому +1

      koilk
      View other videos on Collections in Java and click the below link
      ua-cam.com/video/rI3VkItC0eA/v-deo.html

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  9 років тому +1

      Durga Software Solutions
      View 9 videos on ENUM,
      ua-cam.com/video/T1fMWwI9D1E/v-deo.html
      View 16 videos on Serialization,
      ua-cam.com/video/bIzfrvdt7qM/v-deo.html

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  9 років тому

      Durga Software Solutions
      Hi,
      We are very Happy to say Our Expert Faculty Durga Sir's One-to-One Video Sessions on "Core Java with SCJP/OCJP"
      are available. Shooted from direct Class Room. YOu can access these videos from anywhere anytime. Around 200+ hours
      training, 178 Videos with clear explanation on every concept. 100% Satisfaction and Perfection in Subject guaranteed.
      For Demo Sessions Please call or drop a mail to us...
      DURGASOFT Online Training
      ph: 91-8885252627
      mail :durgasoftonline@gmail.com, durgasoftonlinetraining@gmail.com
      Demo Sessions on youtube:
      1. Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html
      2. Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html
      3. Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html
      durgasoft.com
      durgasoftonlinetraining.com
      facebook.com/durgasoftware
      durgajobs.com
      facebook.com/durgajobsinfo

  • @akashdas-pp3ko
    @akashdas-pp3ko 8 років тому

    nice tutorial .but weird accent.

  • @Akshay-cj3hq
    @Akshay-cj3hq 4 роки тому +1

    what a sexy accent

  • @mabashabasha6339
    @mabashabasha6339 9 років тому +3

    Pronunciation of words is toooooooooo poor.... comPARATOR...

    • @rajeshkommuru8978
      @rajeshkommuru8978 9 років тому +8

      pronunciation dnt matter/// understaning is necessaryyy @ basha