I have no experience in C++, and I come from a Java background. Lately, I was asked in an interview on why Java would not allow multiple inheritence and the answer was pretty ea
There is nothing about multiple class inheritance that allows this. Java produces the same problem with interfaces.
public interface A {
public void doStuff();
}
public interface B {
public void doStuff();
}
public class C implements A, B {}
The simple answer is that the compiler throws an error on it.