Difficulty: Easy
Correct Answer: a class
Explanation:
Introduction / Context:Analogies help solidify object-oriented terminology. In OOP, classes define the structure and behavior (the “blueprint”), while objects are concrete instances created from that blueprint. Mapping this vocabulary correctly ensures clear communication and accurate mental models when designing systems.
Given Data / Assumptions:
Concept / Approach:
Step-by-Step Solution:
Identify roles: blueprint (definition) vs widget (instance).Match to OOP: class (definition) vs object (instance).Hence the analogy: blueprint : widget :: class : object.Verification / Alternative check:
Consider multiple objects (many widgets) from one class (single blueprint), reinforcing the analogy.Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
a class
Discussion & Comments