Summary

A constructor cannot have return parameters.

Details

A constructor is a method that instanciates the Classifier it belongs to, and does not return anything.

Tips
  • Remove this parameter.

  • Remove the 'constructor' stereotype from the method and make it a class method.