Source Code Structure
Your project should contain following files:
- PatronDriver.java: This code has the driver portion to get input from the user, create Patron objects, and compare them.
- Patron.java: Create a class Patron implementing the Comparable interface (public class Patron implements Comparable).
- Name.java: Create a class Name implementing the Comparable interface (public class Name implements Comparable).