Comparable Interface – Code Reading

Material Category: Learning Activity
Course Categories: CS1/CS2/Data Structures |
FOSS Categories: Coding & Style |
Tags: code reading | Java | OpenMRS |


Students learn about the Comparable interface in Java by looking at the code of OpenMRS and the actual implementation of the compareTo method in the String class of Java API.



Return to Teaching Materials

Leave a Reply