In a class diagram, is it possible to have two classes with more than one relationship? For example, a generalization relationship and a composition relationship?
For instance, 
You can have either a composition relationship or a generalization relationship. A frozen Chocolate is a chocolate. But if you destroy the chocolate class the frozen chocolate class would also be destroyed. which also makes it a composition relationship.
But can you have both on the same diagram, or would you have to stick to one? Which one in this case?
FrozenChocolate frochoc;in the Chocolate class?Chocolatewill have its ownFrozenChocolateobject, which doesn't seem reasonable.