Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need help with converting class diagram into code

    Hey guys, this is my first post as I just need a bit of help. I have been given a class diagram and told I need to transfer this into Java code and I have no idea where to start. =S

    Heres the class diagram:


    Any help would be very much appreciated.

    Thanks!

  • #2
    Regular Coder
    Join Date
    Dec 2007
    Posts
    137
    Thanks
    1
    Thanked 21 Times in 21 Posts
    Read up on UML and class diagrams in Java.

    Assuming you know Java, or some basics of Java, you can decipher the Class Diagram if you learn how to understand UML basics.

    For example, this article gives a primer on UML and Java:
    UML Class Diagrams for Java Programmers

    If you understand how to real a UML class diagram, then all the information on how to design your Java class, the basic structure, is already there.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •