Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道复合状态由显示状态行为方式的内部状态组成。当状态处于活动状态时,你也可以有一个 do 动作吗?这就像在状态中显示并行行为并且看起来很奇怪。
据我了解UML 规范:是的,复合状态也可能包含执行操作。