Class Diagram for an Email System — Identifying Classes
publish date: 2026/06/08 22:17:20.288929 UTC
You are asked to model the object classes used to implement an email system, focusing on messages and mailboxes. Which of the following would be appropriate classes in such a model? Select all that apply.
Correct Answer
Explanation
A class diagram for an email system should model the software objects that represent the domain concepts. Appropriate classes include: Mailbox (holds messages, has folders), EmailMessage (has attributes like sender, recipient, subject, body, timestamp), Folder (organizes messages within a mailbox), and Attachment (files attached to messages). Physical server hardware and network connection speed are infrastructure concerns — not object classes in the software model.
Reference
Software Engineering, Ian Sommerville, 9th edition
