What is the difference between an inheritance diagram and a class diagram in UML? For the Computer Science A Level (a British test administrated by Cambridge University, so it’s possible that this terminology is Britain-specific), they require knowledge of how to make both separately.
I guessed that the inheritance diagram only has class names in boxes with arrows and the class diagram includes members, but I wanted to make sure.
3
According to Wikipedia and also according to the UML reference , UML does not contain a diagram type called “inheritance diagram”. That does not mean some tool vendors invented their own definition of what an inheritance diagram should be (like this one). When using UML means, to display just an inheritance tree, IMHO the most obvious solution would be to use a class diagram with only class names and inheritance relationships, as you wrote above. So call this an inheritance diagram, if you like, but be aware that there is no standard saying that this is the “correct” definition.
In fact, when you are asked for this term as part of a “Computer Science A Level” test, you should check the material from the university what they call an inheritance diagram.
4