Exam-style question
Try this first
Which feature is most closely associated with object-oriented programming?.
- A.Objects combine data with operations that work on that data
- B.All instructions must be written in one uninterrupted sequence
- C.The program may contain no reusable operations
- D.Data must never be associated with any operation
Model answer
What a good answer should say
- Objects combine data with operations that work on that data
Explanation
Why this works
A central characteristic of object-oriented programming is the use of objects that combine data and related operations.
Common mistake
No common mistake is linked to this question yet.
