Attributes
Going back to the earlier example, the Book
class will have an attribute to store each of the information:
Title
Publication year
ISBN
Author name
Number of pages
The following diagram shows different Book
objects and how they are bundles of data. Notice how different objects can have same values for many of the attributes.
