Study Cards on value, static, operation
To borrow a book, you use myBook.borrow() and the operation applies to the myBook instance
What does this mean?
Alternatively, the class has a separate location for itself containing the attribute and value
We would imagine in a fully detailed Patron, the incrementnumPatron would be called during the creation of a new Patron.
Thus, the value of numPatron would be the total count of the number of Patrons in the library.
The underline is an example of an attribute and operation adornment.
- Higher grades + faster learning
- Don't study anything twice
- 100% sure, 100% understanding