Multiple inheritance and multiple interface. What's the true difference?
<p>I was reading through online for the reason as to why multiple inheritance is not allowed in Java and the following example was given to illustrate it: </p>

<pre><code>class A { 
   public void doSomething() { 
   } 
} 

class B { 
     public void doSomething() { 
     } 
} 

class C extends A,B { 

} 

public static void main(String args) { 
     C c = new C(); 
     c.doSoemthing();   // compiler doesnt know which doSeomthing to call.
</code></pre>

<p>The above example illustrates what we call a diamond problem where by both parent classes have the same method name. when a child class tries to retrieve it, the compiler gets confused. </p>

<p>My question is, how will an interface solve this kind of problem ?  </p>
