Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UML diagram for an interface implementing another interface #239

Open
pohjie opened this issue Dec 3, 2017 · 5 comments
Open

UML diagram for an interface implementing another interface #239

pohjie opened this issue Dec 3, 2017 · 5 comments

Comments

@pohjie
Copy link

pohjie commented Dec 3, 2017

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?

@damithc
Copy link
Contributor

damithc commented Dec 3, 2017

When an interface implements another interface we use a solid arrow instead

It should be 'When an interface implements inherits another interface...'

@yunpengn
Copy link

yunpengn commented Dec 4, 2017

image
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 ...

@pohjie
Copy link
Author

pohjie commented Dec 4, 2017

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.

@damithc
Copy link
Contributor

damithc commented Dec 4, 2017

I think it should be changed to When a class implements an interface, it is shown as ...

Yes, that's a good idea.

@damithc
Copy link
Contributor

damithc commented Dec 4, 2017

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:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants