inheritance relationships between classes and interfaces. Figure H
650) This. width = 650; "src =" http://pic002.cnblogs.com/images/2012/285763/2012061315050938.gif "style =" margin: 0px; padding: 0px; Border: 0px; "/>
1.1.6 implementation (realization): Expressed by hollow arrows and dotted lines
Instance (FigureI) Link specifies a contract between two entities. In other words, one entity defines a contract, and the other entity guarantees the performance of the contract. When modeling Java
Document directory
Abstract: this is an article about the unified modeling language, that is, the basic diagram used in UML. In this article, I will discuss the structure diagram, which is a new graph type that has been proposed in UML 2. Since the purpose of this series of articles is to help people understand
circumstances of the association, also embodies the part of the whole relationship, is a strong "ownership relationship", the whole and part have the same life cycle, is a strong association;Generalized Relationships (generalization and implementation): represents an inheritance relationship between a class and a class, an inheritance relationship between an interface and an interface, or a
Teach () {
......
}
}
4. Interface and Implementation relationshipIn many object-oriented languages have introduced the concept of interfaces, such as Java, C #, etc., in the interface, usually no attributes, and all operations are abstract, only the operation of the Declaration, there is no implementation of the operation. UML represents an interface in a manner similar to the representation of a class
Baidu, look at the review good I collected, study, really do not understand!!!The first is to review the UML in the understanding of nine kinds of diagrams: http://xhf123456789plain.blog.163.com/blog/static/172880482201192222144421/Picture use case diagram: http://xhf123456789plain.blog.163.com/blog/static/172880482201192221826110/The following is an example of a class
The first is to review the UML in the understanding of nine kinds of diagrams: http://xhf123456789plain.blog.163.com/blog/static/172880482201192222144421/Picture use case diagram: http://xhf123456789plain.blog.163.com/blog/static/172880482201192221826110/The following is an example of a class diagram (as if it were in
UML defines the following 5 categories, 10 model diagrams.
The first class is the use case diagram, the use case diagram describes the function of the system from the user's point of view, and points out the operator of each function.
The second category is static diagrams, including
Relationship between classes (1)In a software system, classes do not exist independently. Classes and classes have various relationships. for different types of relationships, UML provides different representations.1. AssociationAssociation is the most common relationship between a class and a class. It is a structured relationship used to indicate the relationsh
Unified Modeling Language (UML. It includes the following important functions:
Visualizing)
Specifying)
Construting)
Document creation (documenting)
UML includes:
User case diagrams)
Class Diagrams)
Sequence Diagram (sequence diagrams)
Collaboration diagrams)
Activity d
The existence of UMLClass diagram is a UML diagram with high frequency, which is used to describe the classes contained in the system and the relationship between them, to help people to simplify the understanding of the system, is also an important product of the system analysis and design phase, but also the important type of system coding and testing basis.How
Get the analysis finished product demand is the line design UML (with class diagram) or the first design database?
Reply content:
Get the analysis finished product demand is the line design UML (with class diagram) or the fir
The existence of UMLClass diagram is a UML diagram with high frequency, which is used to describe the classes contained in the narrative system and the relationship between them, to help people to simplify the understanding of the system, is also an important product of the system analysis and design phase, but also the system coding and testing of the important
What is a simple Factory mode:By defining a class specifically, you are responsible for creating instances of other classes that typically have a common parent class. UML class diagram for simple Factory mode: The roles contained in the Simple factory model and the correspon
There are many tools for painting class diagrams. I have learned how to use staruml to draw class diagrams. However, this tool is used in Java. For vs programming C ++, I personally feel that Using Visio is better. The following uses a block class in the previous Tetris game as an example to describe it.
1 class block2
operations, no operation implementation. In UML, the interface is represented in a way similar to the class notation, as shown in 3:
Figure 3 UML diagram of the interface
Interfaces can also have inheritance and dependency relationships similar to the relationships between classes, but there is also a realization rel
Class diagrams are the most common UML diagrams used to describe the structural design of a system. These include class relationships and the properties and behaviors associated with each class. Class diagrams can represent an excellent representation of inheritance and comp
a lot of computer technology books or articles commonly used in UML class diagram, the author of the book describes each design pattern is the class diagram + Object-oriented language applet ( in C #, its basic knowledge of a different article)+ character dialogue interpreta
UML Class diagram: To understand the class diagram of the lines between the various classes, what the arrow means is enough to deal with day-to-day work and communication, and we should be able to match the meaning of the class
The various elements of UML are not mentioned here, I just want to talk about the relationship between classes in the class diagram, can understand the class diagram of the lines between the classes, arrows represent what meaning, it is enough to deal with daily work and com
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.