Abstraction and program design

A good design starts from what the program must do and splits it into classes for the things involved and methods for the jobs, so each part can be used knowing only what it does, not how.

From AP Computer Science A.