uml classdiagram constructor with parameters
The common way is to write constructors like methods and simply omit the return type. If you want to be extra clear, you can add <<constructor>> in front.
The common way is to write constructors like methods and simply omit the return type. If you want to be extra clear, you can add <<constructor>> in front.