In UML class diagrams, are there specific differences between operations and constructors?

I take a course in data analysis, we study UML class diagrams. I am embarrassed by the terminology of methods (operations) and constructors. What is the difference between a method and a constructor? Any explanation would be very useful, the light bulb for this is just not yet lit and hopes that some external perspectives will help. Thank you in advance!

+4
source share
1 answer

Some of the confusion has historical reasons when terms were only partially defined (or were not at all). The current UML 2.5 specification defines on p. 114

9.6.3.1 Operations

- BehaviorialFeature , DataType Class. , Classifiers. , , .

, , .

( ) . 13

, , , , .

, - "" , , StateMachine .

, - , . . 15:

, , . ( - . 11.4 - .)

+4

Source: https://habr.com/ru/post/1688236/


All Articles