Java8 | 40 | Sorting using Comparable Interface | Tamil

  Рет қаралды 2,132

Learn Automation Online

Learn Automation Online

Күн бұрын

In this video, we will try to solve the previous problem with the help of a comparable interface. This solution is not based on Java8.
The Comparable interface in Java is used to compare objects of the same class. It provides a single sorting sequence, i.e., you can sort the elements on the basis of a single data member only. For example, it may be rollno, name, age or anything else.
The Comparable interface is defined in the java.lang package and contains only one method named compareTo(Object). The method compareTo() takes a parameter of the object of that class and returns an integer value.
➡️If the current object is greater than the specified object, the method returns a positive integer.
➡️If the current object is less than the specified object, the method returns a negative integer.
➡️If the current object is equal to the specified object, the method returns 0.
Support by donating:
---------------------------------
Google pay UPI Id: arulprasath36@okicici
Name: Arulprasath
Email: arulprasath36@gmail.com
Follow me on Linked In: / arulprasath-ranganatha...
Instagram: im_arulprasath
website: www.arulprasathranganathan.com
You can watch my other tutorials
------------------------------------------------------
Selenium basics: bit.ly/2XtOt1F
Selenium Advanced: bit.ly/2WYieZe
TestNG Absolute Beginner Guide: bit.ly/2N6xgaM
Data-driven framework: bit.ly/2WVjSFT
Page Object Model: bit.ly/2IAXJZR
Framework development using POM and Cucumber: rb.gy/fer4sw
Keyword driven framework development: rb.gy/gosduk
How to write XPath on our own: bit.ly/2KwMLql
Must know Java concepts for Selenium: bit.ly/31Ro7G8
Selenium Interview Questions: bit.ly/2N6xu1F
Java for Selenium Automation: bit.ly/2IylOAh
Maven beginner guide: bit.ly/2Rsigm0
GitHub Absolute beginner Guide: bit.ly/2Kxdzqj
REST Web services beginner guide: bit.ly/2N69rQq
Cucumber absolute beginner guide: bit.ly/2X0lSBB
Acceptance Testing (Fitnesse) beginner guide: bit.ly/2Y6oE55
Jenkins beginner guide: bit.ly/2X39fGb
Jmeter beginner tutorials: bit.ly/32achqW
Java programs for Interview: bit.ly/3AZ5u4M
Frequently Asked Interview questions for testers: bit.ly/3xFfyhm
Agile beginner tutorials: bit.ly/3khmT2z
Jira beginner tutorials : bit.ly/2TZLE97
Rest Assured beginner tutorials: bit.ly/3i4lpGw
Selenium Exceptions: bit.ly/36BpYCS
Manual testing tutorials: rb.gy/htjdm4
Freshers Tips and Guidance: rb.gy/m97ze8
ISTQB Foundation level Videos: rb.gy/erkss9
Postman Absolute beginner Tutorials: rb.gy/u5hds6
Roadmap for Freshers and Professionals: rb.gy/vuhvap
Complete Rest Assured Tutorials: rb.gy/3wgta9

Пікірлер: 5
Java8 | 41 |  Sorting using Comparator Interface | Tamil
16:13
Learn Automation Online
Рет қаралды 1,6 М.
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
Java8 | 07 | How to write Lambda expressions | Tamil
15:25
Learn Automation Online
Рет қаралды 2,8 М.
Functional Interface in Java - Tamil
24:56
Coder Ulagam
Рет қаралды 13 М.
#95 Comparator vs Comparable in Java
15:43
Telusko
Рет қаралды 232 М.
Java8 | 52 | Streams API | Map function | Tamil
13:57
Learn Automation Online
Рет қаралды 1 М.
Java Crash course | 10 | Java ABSTRACTION Explained | Tamil | Java for Automation
33:39
Comparable  and Comparator Interface in Java | Sorting and Comparison Tutorial
18:49
CodeWithBasha(Enjoy Coding)
Рет қаралды 1,6 М.
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН