This preview shows page 1. Sign up to view the full content.
Unformatted text preview: In the set methods we can add code to do error checking. 1. Can't set multiple values with one method call 2. Can't set a month value with an int, as opposed to a String value 3. Currently we need two steps to create an object and then set its values 4. We want to be able to share code between Constructors 5. How can we print out an object neatly? 6. How can we do a deep comparison of objects? 7. How can we make a copy of an object? 8. Today: 10-01-10 Class Notes CS 107 Friday, October 01, 2010 3:57 PM 107 Fall 2010 Page 1...
View Full Document
- Fall '10
- Computer Programming