Yes indeed you can. This exercise is just to show you that you can effect an object either in or out of the object. So if you wanted to add the 'snoopy' object, and at the end of your code (or your class), you could effectively change anything in that object simply by using dot notation, or utilize it's value. There's an endless amount of possibilities for an Objects uses.
It's best to utilize the Object for declaration statements to make your code more readable, and for the reader to understand the point of the class more thoroughly, but for everything else DOT notation is more useful!