A UML class diagram is just another representation of your class design. You
can do that yourself because it's *your* design after all; the rest is just a few
rectangles representing your classes (and interfaces) and a bunch of funny arrows.
Hi I was also informed that the problem has Inheritance in it but i am unsure of what that means. Coudl you give me an example. Ive also been told that i must list the attributes and methods (i.e. operations) associated with these objects. Could you help with this please.
Hi I was also informed that the problem has Inheritance in it but i am unsure of what that means. Coudl you give me an example. Ive also been told that i must list the attributes and methods (i.e. operations) associated with these objects. Could you help with this please.
Thanks
I already did: reread my reply #11 and pay close attention to the Activity class
and its subclasses. You'll find the methods by paying close attention to the verbs
in the assignment text.
I really would't know. There's a fun little way to find out: I call it the CRC game;
other, more serious folks don't call it a game but 'exercising the classes'. CRC
stands for Classes, Responsibilitie s, Collaboration.
Try to come up with a 'use case' scenario that should be 'solved' or 'handled'
by your classes. Try to play that little game using those classes. If there doesn't
exist a class that can do part of the game, you're missing classes or you should
modify at least one of the classes. At least one of the classes should be (partially)
responsible for part of the play (use case) and classes should (must?) communicate,
i.e. collaborate in order to get the job done.
If you can successfully complete the entire game your classes and method are
fine for at least that particular use case. Otherwise you have to add/modify/remove
classes and or methods; then play the game again.
Playing the game with more than one person can be fun. Each person should
assume the 'role' of one or more classes and people should communicate back
and forth, simulating the method calls that are supposed to do the job.
Is there any more object or classes in the text other than the ones i have found
Thanks
Are the classes you have found so far sufficient to do the job? If not, everything
is fine (sofar) if not, think of a 'thing' (or more than one) that can complete your
design so they can fulfill the task.
Comment