All pastes #453318 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-22 22:39 UTC
rendered paste body
                        Serializable     (this object will be written to a file)
                    ---------------------------------------------------------------------------
                             ^
                             |
                       Borrowing <abstract>
   
                          - bookTitle  :String
                          - borrowerID :String
                          - issueDate  :Date          (my own Date class, which ive created)

                          + toString()   :String      
                          + calculateReturnDate() <abstract>  :Date

                    ------------------------------------------------------------------------------

                         ^                |        ^
                         |                |        |
                    ShortLoan (extends)   |     LongLoan (extends)
                      +tostring()         |        +toString()