Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
The checkOut() method in the Patron class is how we’re modeling the process of a real-life Library patron checking out a book.
It sets the currentBook property on the Patron object to the Book object they’re checking out. It also sets the patron property on the Book object to the Patron that’s borrowing the book.
The out property on the ...