W071 Duplicate Method Different Type
Errors and Warnings 51-99
noreferences

@@description

<h2>Umple sematic warning reported when two methods have the same names but different types</h2>

<p>In some programming languages like Java, you cannot have the same method name for multiple methods even if the return types are different. The warning is shown to notify the developer of the potential mistake.

</p>


@@example
@@source manualexamples/W071DuplicateMethodDifferentType1.ump
@@endexample

@@example @@caption Solution to The Above So the Message No Longer Appears @@endcaption
@@source manualexamples/W071DuplicateMethodDifferentType2.ump
@@endexample

