Which UML diagram primarily represents the interaction between objects in a time-ordered sequence?

Options

  • A. Class Diagram
  • B. Sequence Diagram
  • C. Deployment Diagram
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

B. Sequence Diagram

Detailed Explanation

A Sequence Diagram is a UML interaction diagram that represents communication between objects or actors in a particular time sequence. It emphasizes the order in which messages are exchanged.