title: A class implements two interfaces. Which interface does a method belong to?
body: <p>There are two interfaces <code>B</code> and <code>C</code> each having the same method <code>public m1()</code></p>
  
  <pre><code>class A implements B and C 
  </code></pre>
  
  <p>If class <code>A</code> has to implement method <code>m1()</code>, the implemented method would be of which interface?</p>