Open pohjie opened 6 years ago
When an interface implements another interface we use a solid arrow instead
It should be 'When an interface implements inherits another interface...'
The textbook seems to be unclear about this point.
I think it should be changed to When a class implements an interface, it is shown as ...
Hi Prof,
What about question A24 of mock paper part 1? BarA and BarB are not indicated as interfaces, yet the lines connecting these two bars to Bar is a solid line.
Thank you.
I think it should be changed to When a class implements an interface, it is shown as ...
Yes, that's a good idea.
What about question A24 of mock paper part 1? BarA and BarB are not indicated as interfaces, yet the lines connecting these two bars to Bar is a solid line.
That's an error in the question. It should be like this:
Hello, I was looking through the textbook and I noticed that when a class implements an interface, we will draw a dashed arrow from the class to the interface. When an interface implements another interface, we use a solid arrow instead. May I know the reasoning behind the distinction?