Exam-style question
Try this first
A programmer is deciding whether to hide a detail of an object. Which question is most relevant?.
- A.Does this detail contribute to the object's essential characteristics?
- B.Can this detail be written using exactly ten lines of code?
- C.Does this detail make the object contain more characters?
- D.Was this detail created before the other details?
Model answer
What a good answer should say
- Does this detail contribute to the object's essential characteristics?
Explanation
Why this works
The decision is based on whether the detail contributes to the object's essential characteristics. Details that do not contribute can be hidden.
Common mistake
No common mistake is linked to this question yet.
