UML Learning: Sequence diagram (sequence diagram) sequence diagram

Source: Internet
Author: User

Introduction

What is the relationship between use case diagrams, class diagrams, activity diagrams, and sequence diagrams?

What's the role of a timeline diagram?

First to simulate the Chibi of the War of the Kingdoms of the sequence diagram, first know what it looks like, and then in-depth introduction:

Small partner stunned, such a drawing strategy diagram, at a glance, the original famous campaign is so. So see the kingdoms will never fall asleep ...

And look at the main actions of the big men:

Code simulates each task action:

public class Guan Yu
{public
    void  defender Negundo State ();
}
public class Zhang Fei
{public
   void  Defense Jingzhou Frontline ();
}
public class Sun Quan
{public
   void collar help  ();
}
Publc class Liu Bei
{public
   void Challenge ();
}
PUBLC class  Hung Ming
{public
  void   formulation strategy ();
  public void  United Sun Quan ();
  private void circumstance Incendiary ();
}

(The above is pseudo code, only to explain the problem, shorten the article length).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.