چرا جاوا Multiple Inheritance را Support نمی کند؟

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.

نظرات 0 + ارسال نظر
برای نمایش آواتار خود در این وبلاگ در سایت Gravatar.com ثبت نام کنید. (راهنما)
ایمیل شما بعد از ثبت نمایش داده نخواهد شد