Instance methods on coffee
Let’s create a coffee instance using
We want to do something with the coffee like “drink” or “stir”.
We need to add methods to
Coffeemaker class so that coffee instance could use those methods.
Classes are used to make instances. In order for instances to do something the class needs to have those methods.