Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Instruction
Solution: A Better Way With Setter Methods
Solution for the Setter Method
The setter method, called out()
, should receive one argument (this can also be called out
, or any other variable name that makes sense to you). This argument is the value that the _out
backing property will be set to - true
or false
. The Book object either is, or isnβt checked out.
This setter method is also meant to calculate the Bookβs due d...