• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UML diagram, difficulty reading

 
George Avilez
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having trouble trying to translate a part in the uml diagram that I have attatched. It's the +addPizzaToOrder(in char size, in boolean pepperoni, in boolean suasage, in boolean mushrooms).
I guess they are asking me to put a filled constructor from a main class into that addPizza constructor. They way I have it is not correct I believe beacuse if I re-write to the addPizza then I just get an error to put a return statement.




Not sure if you need the other class but here it is:

2013-10-09 15.42.18.jpg
[Thumbnail for 2013-10-09 15.42.18.jpg]
UML pic
 
Campbell Ritchie
Sheriff
Pie
Posts: 49796
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please always tell us where such information is from.
What do you understand about the black diamond arrowhead in UML diagrams?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic