|
A programmer designs and writes classes that can later be used in other classes to create objects of that class. The objects then work together to solve your problem. Breaking down a large problem into a collection of smaller problems in this way is a very useful programming technique. When designing a class, we must consider the behaviors and attributes of the objects created from that class, as well as how we will create those new objects.
|