Destdir Srcfile
Where: 1,-D destdir is used to specify the path to the. class file that holds the compiled build. (If this option is omitted, the. class file is generated by default in the current directory, and there is no build package folder; The current directory can use "." To express, namely: javac-d. Srcfile)
Note: Adding the-D option allows you to specify the path of a compiled.
1. Introduction It has been two years since I began to learn programming from a freshman year. From the initial study of the Html,js,javese, to Javaee,android, I can also write some toys. The learning process also unconsciously understood some of the so-called design Patterns , and now intends to learn the system. Learn to book The art of Design mode----------------------the software developer. The so-called design patterns, that is, the predecessors of a similar problem of the abstract solution
Generalization relationship (generalization)The inheritance structure of a class is represented in UML as: generalization (generalize) and implementation (realize):The relationship of the inheritance relationship is is-a, and if the two objects can be represented by is-a, it is an inheritance relationship: (.. Be ...)Eg: Bicycles are cars, cats are animalsA direct representation of a generalized relationship with a hollow arrow, as indicated (a inheri
1. The concept
Class diagrams are the most commonly used graphs in object-oriented system modeling. Is the basis for defining other diagrams.
Class diagrams are used primarily to display the classes, interfaces, and relationships in a system.
The class diagram contains the main elements of classes, interfaces, and rela
are interconnected. The arrows are optional and are used to specify navigation capabilities. If there are no arrows, the hint is a two-way navigation capability. In Java, an association ( Figure E) is converted to a variable of an instance scope, just like the code shown in the "Java" area of Figure E. Additional modifiers can be attached to an association. The
1. IntroductionIt has been two years since I began to learn programming from a freshman year. From the initial study of the Html,js,javese, to Javaee,android, I can also write some toys. The learning process also unconsciously understood some of the so-called design Patterns , and now intends to learn the system. Learn to book the art of Design mode----------------------the software developer. The so-called design patterns, that is, the predecessors of a similar problem of the abstract solution
, let's start with the Visual Studio Tools, like this step-by-step:Select the c/c++-> command line on the left and then write the/d1 reportallclasslayout on the other option, which can see the memory layout of all related classes, if written on/d1 Reportsingleclasslayoutxxx (XXX is the class name), only the memory layout of the specified class XXX will be typed. This configuration is supported in recent VS
a c ++ nested class is whether it points to external class references. Of course, there are some differences from the design details and some other perspectives. In addition, no non-static internal class can have static data, static methods, or another static internal class (internal
Php design pattern-UML class diagram. Preface I have been using php for more than two years. I have prepared and written some frequently-used design patterns based on my own practical experience. of course, I should first understand the design patterns before using the design patterns.
I have been using php for more than two years. I have prepared to write frequently-used design patterns based on my own pra
UML class diagram
Using UML class diagrams, we can express the static content of classes and their relationships. In the class diagram, we can show the member variables and member functions of the class, as well as the inheritance
, and the specific logical relationship must be investigated.
[Code embodiment]: member variables
[Arrow and direction]: solid line with hollow diamond. the diamond points to the whole.
5. Composition)
[Composite relationship]: it is the relationship between the whole and the part, but the part cannot exist independently from the whole. If the relationship between a company and a department is a whole and a part, no department exists without the comp
Schematic diagram of Java Virtual Machine 4. JVM machine Instruction Set0. Preface
The Java virtual machine runs binary machine code like a real computer. java source code compiled. the class
Preface I have been using PHP for more than two years. I have prepared and written some frequently-used design patterns based on my own practical experience. before using the design patterns, I must first understand the design patterns, therefore, we will first explain the UML class diagram. Through UML class diagrams, you can better communicate with everyone and
Links in a class diagram refer to the relationships between classes, classes, and interfaces, and between interfaces.
Link:1. General Relationship: GeneralizationApplicable to: classes, classes, and interfaces; between interfacesIt indicates the inheritance relationship.Symbol: a hollow triangle points to the parent class by a subclass, or a
This article reprint casually, Please retain the Source: http://blog.csdn.net/dylgsy/
UML class diagram relationships include association, aggregation/combination, dependency, and generalization (inheritance ). The Association is divided into two-way Association, one-way Association, and self-Association. Let's take a look at what these relationships are and what their differences are.
1. Association
examine the concrete logical relation."Code embodiment": member variable"Arrows and points": solid lines with hollow diamonds, diamonds pointing to the whole5. combination (composition)"Combinatorial relationship": the relationship between the whole and the part, but part cannot leave the whole and exist alone. If the company and the Department is a whole and part of the relationship, no company there is no department.A combinatorial relationship i
embodiment": member variable"Arrows and points": solid lines with hollow diamonds, diamonds pointing to the whole5. Combination (composition)"Combinatorial relationship": the relationship between the whole and the part, but part cannot leave the whole and exist alone. If the company and the Department is a whole and part of the relationship, no company there is no department.A combinatorial relationship is a relationship that is stronger than the aggregation relationship, which requires that an
syntactically, must examine the concrete logical relation."Code embodiment": member variable"Arrows and points": solid lines with hollow diamonds, diamonds pointing to the whole5. Combination (composition)"Combinatorial relationship": the relationship between the whole and the part, but part cannot leave the whole and exist alone. If the company and the Department is a whole and part of the relationship, no company there is no department.A combinator
embodiment": member variable"Arrows and points": solid lines with hollow diamonds, diamonds pointing to the whole5. combination (composition)"Combinatorial relationship": the relationship between the whole and the part, but part cannot leave the whole and exist alone. If the company and the Department is a whole and part of the relationship, no company there is no department.A combinatorial relationship is a relationship that is stronger than the aggregation relationship, which requires that
PrefaceI have been using php for more than two years. I have prepared to write frequently-used design patterns based on my own practical experience. Of course, before using the design patterns, I must first understand the design patterns, therefore, we will first explain the UML class diagram. Through UML class diagrams, we can better communicate with you and exp
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.