From Java Code to Class Diagram -
i have class diagram (from system coded in java), class diagram consists of business logic , has classes student, exam, topic, question, etc.
the thing want know if should add getter , setter methods each class of diagram (because they're in code) constructors , tostring methods.
... or better add methods in classes coded me?
i'm asking because homework college , maybe professor doesn't see these "auto generated methods" in diagram. what's recommendation?
does matter if class stays "empty"? mean, without methods or no attributes in case class extends them superclass.
Comments
Post a Comment