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
Answer and explanation
Concise answer
A blueprint that defines common methods and property or attribute fields for objects
Why this is correct
A class defines methods and property or attribute fields that capture the common behaviours and characteristics of objects.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
