text: c++ programming: if class b2 inherits class b1 as public. then, if class c tries to inherit both b1 and b2? if class b2 inherits class b1 as public. then, if class c tries to inherit both b1 and b2, by multiple inheritance, what would happen? please explain clearly. then you will be faced with the 'lattuce' problem, that is, for a certain virtual method, the compiler will not know which base class to use (either the left or the right).  some compilers solve the issue by emitting an error if there is no explicit override of every method that can incurr in this inconvenient.