构造函数在UML序列图中 [英] constructor in UML sequence diagram
本文介绍了构造函数在UML序列图中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
下面的序列图和正确的构造函数(表示为create对象)的含义是什么?
what is the meaning of the following sequence diagram and exactly the constructor(that is represented as a create object)?
推荐答案
code> ClassA 实例化 ClassB
。箭头表示 ClassB
的构造函数由 ClassA
It means that ClassA
instantiates ClassB
. The arrow represents that the constructor of ClassB
is called by ClassA
这篇关于构造函数在UML序列图中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文