uml classdiagram constructor with parameters

后端 未结 1 1900
孤街浪徒
孤街浪徒 2020-12-14 05:47

I am a complete ROOKIE at this so I need some help on it.

How would you create uml class diagram and constructors with parameters.

for default (no parameters

相关标签:
1条回答
  • 2020-12-14 06:06

    The common way is to write constructors like methods and simply omit the return type.

    enter image description here

    If you want to be extra clear, you can add <<constructor>> in front.

    0 讨论(0)
提交回复
热议问题