Java Interfaces Crash Course (Implementing Comparable and Defining your own Interface)

Published: 17 September 2019
on channel: Gina Sprint
522
22

How to use interfaces in Java and how to define your own interfaces. Specifically I code up an example of how to implement Comparable for a custom class and why you would do such a thing (hint: sorting!). I also show how to utilize polymorphic behavior using a programmer-defined interface.

Source code available at: https://github.com/gsprint23/Java-Cra...


On this page of the site you can watch the video online Java Interfaces Crash Course (Implementing Comparable and Defining your own Interface) with a duration of hours minute second in good quality, which was uploaded by the user Gina Sprint 17 September 2019, share the link with friends and acquaintances, this video has already been watched 522 times on youtube and it was liked by 22 viewers. Enjoy your viewing!