UML Class Diagram

Source: Internet
Author: User

Before learning UML class diagrams, recommend a good website with lots of open source projects: Http://www.oschina.net/project.

Also recommend an open source project: STARTUML, all of the following class diagram and the diagram between the classes are drawn with STARTUML.

Let's take a sample before learning UML:

Comments:

Class
First line: Class name
Second line: Attribute (field or property)
Third line: Action (method or behavior)
Note: If the class name is italic, this class is an abstract class

Interface
Lollipop notation
Interface name next to circle
Interface methods appear in the class implementation
Interface
Rectangular notation with "interface" at the top
First line: Interface name
Second line: interface method
Note the methods of each class and the symbols in front of the fields
The + sign indicates that the public,-number is private, #表示protected

Http://www.uml.org.cn/oobject/201104212.asp

Http://www.cnblogs.com/ywqu/archive/2009/12/06/1618184.html

UML Class Diagram

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.