The Instance Method is used when we need to use the same method on many different objects. For example, we can use it when we want to print out a list of all the people in our database.
To use this method, we write:
- And then call it with any object in our database such as "John" or "Jane".
Share a personalized message with your friends.