How multiple inheritance can cause ambiguity in few scenarios? Does java allows multiple inheritance? If yes, then how it is implemented?