Click to See Complete Forum and Search --> : How would you go about designing this UML?


codekat
April 17th, 2006, 03:46 AM
Heres the description.

-------------

Two different types of individual assignments exist: essay-style assignments and programming-style assignments.
• An essay-style assignment has a title, the author’s family name, a short summary, and the name of the file that contains the essay.
• A programming-style assignment has a language (where a language is either: Java, C, C++, Prolog, or PHP – no other language will be accepted by the system), the author’s family name, and the name of the file that contains the source code.

------------

Im having trouble or confusion as to how to design the UML so that the programming-style assignment has only those 5 languages...

Do I use constants??

Any help would be appreciated