| The Java Course provides a general introduction to programming in Java. It is based on A.B. Downey's book, How to Think Like a Computer Scientist. Click here for details. |   | 

| Home  Create Your Own Objects  Operations on Objects | ||
|              Search the VIAS Library  |  Index | ||
| Operations on Objects
 Even though we can't print times in an optimal format, we can still write methods that manipulate Time objects. In the next few sections, I will demonstrate several of the possible interfaces for methods that operate on objects. For some operations, you will have a choice of several possible interfaces, so you should consider the pros and cons of each of these: 
 
 | ||
| Home  Create Your Own Objects  Operations on Objects | ||