I know how to represent in a class diagram an class (CExample) that implements an interface (IExample).
The problem is that I don´t know how to make the relationship between then to get in the CExample code (Java) something like this:

public Class CExample implements IExample{

The part implements IExample never appears…

Thanks for your time

Hi Algonra,

Thank you for your post. Attached is an example addressing your question. Please make sure:

  1. The two classes are connected by a Realization (not a generalization).
  2. IExample is a <> (You can create an interface directly by selecting “Interface” in diagram toolbar)

Hope this helps. Please feel free to contact us again if you have any questions.

Best regards,
Jick Yeung