Coding Fun Java How and why to make a method generic | Let’s refactor | Java collections.sort() | #2

How and why to make a method generic | Let’s refactor | Java collections.sort() | #2





In this video, we will refactor the classes that we developed in the first tutorial. We will also understand the generic method syntax. This will help us to understand the sort method syntax. If you never coded in generic before,
this tutorial is surely recommended to watch before you move forward.

Coming next: How to sort custom objects[ comparable interface introduction]

Watch the complete comparator vs comparable series by clicking the below link:

Stay tuned and like my Facebook page…

Tags: , , , , , , , , , , , , ,

7 thoughts on “How and why to make a method generic | Let’s refactor | Java collections.sort() | #2”

  1. Awesome content.. keep it up 🤟

  2. Praveen G A says:

    We dont learn these in books,whereas we r learning in youtube,I never knew this <T> technique,thanks boss,unleash these kinda unknown things,Appreciate your work

  3. rock roll says:

    Bhai upload more and more videos
    If u want me to get new job

  4. Thank you sir,
    Do more videos.

  5. Bro, Where were you for over a month?

  6. sikebro says:

    what application do you use for coding? i use jGRASP but i would like to know yours.

Leave a Reply

Your email address will not be published. Required fields are marked *