Exam-style question
Try this first
Which statement best describes a class?.
- A.A blueprint that defines common methods and property or attribute fields for objects
- B.A specific object created from another object
- C.A white diamond line used in a UML diagram
- D.A method that can only be called once
Model answer
What a good answer should say
- A blueprint that defines common methods and property or attribute fields for objects
Explanation
Why this works
A class defines methods and property or attribute fields that capture the common behaviours and characteristics of objects.
Common mistake
No common mistake is linked to this question yet.
