nus-cs2103-AY1920S1 / forum

Forum
1 stars 1 forks source link

Constructors in UML #182

Closed ghost closed 4 years ago

ghost commented 4 years ago

How do you show constructors in UML? Is it a class level variable (underlined) or instance with return type same as the method name?

damithc commented 4 years ago

Can you give more details? For example, what kind of UML diagrams do you have in mind?

ghost commented 4 years ago

My concern is the methods compartment for Class Diagrams. Thanks prof! 💯

damithc commented 4 years ago

My concern is the methods compartment for Class Diagrams. Thanks prof!

In that case, treat it as any other method.

ghost commented 4 years ago

Thank you!