gpt4 book ai didi

uml - 基数 "*"和 "0..*"之间的区别-UML

转载 作者:行者123 更新时间:2023-12-04 06:39:32 49 4
gpt4 key购买 nike

UML(统一建模语言)中的运算符*和运算符0..*有什么区别?

我看到了这两个基数运算符,但是现在我不必使用哪个基数运算符了。

最佳答案

符号“*”是“0 .. *”的快捷方式。在这种情况下使用的正确符号是“*”。
根据UML 2.4规范:

A multiplicity with zero as the lower bound and an unspecified upper bound may use the alternative notation containing a single star “*” instead of “0..*.”

关于uml - 基数 "*"和 "0..*"之间的区别-UML,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18561416/

49 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com