• Post Reply Bookmark Topic Watch Topic
  • New Topic

what should be identified in a class diagram?  RSS feed

 
Day Vide
Greenhorn
Posts: 8
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

in a class diagram, what should be identified to build and organize a class in Java?

Would it be a Java class object ?
 
Vijitha Kumara
Bartender
Posts: 4002
42
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, at minimum you need to identify the purpose and the expected functionality of the class which is what defines what type of properties/members required by the the class.

So if you have a properly designed class diagram then you would identify the properties defined there (may be there's only operations defined, a rare case, so you need to see what members are required) so you could define the fields in the class appropriately. And then see how the instance/class member methods can be derived from that.

You may want to check on this to see how a basic application of class/objects is used.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!