title: UML Class Diagram with Inheritance and Interface
body: <p>I'm trying to understand how can I draw a UML diagram of a program that extends one class and implements another interface. I've made this sketch but I'm not sure if it is correct.</p>
  <p>A is a <code>class</code> that has some fields and methods and B is an <code>interface</code> which has some methods. And finally C is <code>extending</code> from A and <code>implements</code> B. ( <em>like public class C extends A implements B in java</em>)</p>
  <p><a href="https://i.stack.imgur.com/4eJ33.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4eJ33.jpg" alt="enter image description here" /></a></p>