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...
Sur cette page du site, vous pouvez voir la vidéo en ligne Comparable interface - Basic Java Fast (32) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Begin Coding Fast 05 septembre 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,040 fois et il a aimé 11 téléspectateurs. Bon visionnage!