UML Class Diagram: Abstract or Interface?
- by J Smith
I am modeling a class diagram and have spotted an opportunity to simplify it slightly. What I want to know is, would this it be better to implement an abstract class or an interface?
The scenario is this, I have the classes:
Artist
Genre
Album
Song
All of which share the methods getName, setName, and getCount (playcount that is). Would it be…