SE450: Homework Solution - HW4 [3/22] Previous pageContentsNext page

One way to do the homework assignment.

The TestCase (I wrote this one first) FlightTest.java.

The implementation. Flight.java.

One note on Comparable.... if compareTo isn't consistent with equals

Previous pageContentsNext page