what is dynamic or run time polymorphism in java?
java dose not support multiple inheritance. why?
let if java suppot multple inheritance,suppose i have a class A with method meth(), class B and C are inherited from class A. now method meth() is available to class B and C. using multiple inheritance if inherit B and C class to class D my JVM will go to an ambiguity.
that which method to be inherit. method of class B or method of class C?
because of an ambiguity error, java dose not support multiple inheritance.