The video discusses the compareTo method from the Comparable interface. Two String objects can be compared in lexicographic order using the compareTo method. For user-defined classes, one can define the compareTo method by comparing the instance variables of two objects.
You'll learn most by trying my code while watching the video.
1:45 - compareTo method of strings
7:58 - Defining your own compareTo method
Playlist of my Java course
• [14 hours] Java full course for beginners ...
Playlist of my Java examples
• Java projects for beginners | Java project...
On this page of the site you can watch the video online Comparable interface - Basic Java Fast (32) with a duration of hours minute second in good quality, which was uploaded by the user Begin Coding Fast 05 September 2019, share the link with friends and acquaintances, this video has already been watched 1,040 times on youtube and it was liked by 11 viewers. Enjoy your viewing!