Engineering
What Do Classes and Objects Really Represent in Java?
A class is a blueprint, and an object is a concrete thing built from that blueprint.The analogy is useful. It explains why one class can be used to create many objects, just as one design can be used to manufacture many cars.But the analogy only takes us so far.Once we begin building real applications, more difficult questions appear:Which values belong together inside one object?Should an objec..