previous |
start |
next
Choosing Classes
- A class represents a single concept
- Concepts from mathematics:
Point
Rectangle
Ellipse
- Concepts from real life
BankAccount
Purse
- Actors (end in -er, -or)
StringTokenizer
Random (better called RandomNumberGenerator)
- Utility classes--no objects, only static methods
Math
previous |
start |
next