What is disadvantage of multiple inheritances?
There is potential ambiguity if the similar variable or method can be inherited from more than one superclass.eg: student class might be having a variable dept identifying a student's department, and the teacher class might correspondingly have a variable dept identifying a teacher's department.