I've gotten following part for an UML-diagram. I don't like the way the method CAT is written however with only capitalized letters. I understand why since it will conflict with the name of the class otherwise.
But is there some standard naming convention for this scenario?
Wouldn't this look better using output or something else, what now that might be?
But is there some standard naming convention for this scenario?
The class from the UML-diagram:
CAT
+ Cat (in name: string, in age : int)
+hungry_animal()
+ToString() : string
Wouldn't this look better using output or something else, what now that might be?
C#:
CAT
+ CatOutput (in name: string, in age : int)
+hungry_animal()
+ToString() : string