previous
|
start
|
next
Choosing Classes
Actors (end in -er, -or)–objects do some kinds of work for you
Scanner
Random // better name: RandomNumberGenerator
Utility classes–no objects, only static methods and constants
Math
Program starters: only have a
main
method
Don't turn actions into classes:
Paycheck
is better name than
ComputePaycheck
previous
|
start
|
next