answersLogoWhite

0

Because that's the way Java is designed. The designers felt that multiple inheritance was an unnecessary complication that offered little value so they did not include it in the JBC/JVM.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How ploymorphism and inheritance is different from that in Java and c plus plus?

C++ allows multiple inheritance while Java does not. In my opinion, multiple inheritance is not useful because it can get very confusing very quick. For polymorphism, C++ does early binding by default, while Java does late binding by default. Late binding is more useful than early binding.


What are the similarities between c plus plus and java?

C++ and Java are identical except for...No pointers in JavaAll object names are referencesNo operator ->, only operator .No multiple inheritance in JavaNo template classes in JavaThe run-time and class libraries are vastly different


Drawbacks of multiple inheritance in c plus plus?

There are no drawbacks to multiple inheritance if multiple inheritance is precisely what is required to achieve your goal. If there are any drawbacks then it is only because of poor design, not multiple inheritance itself. For instance, when designing classes to simulate vehicles, an amphibious vehicle would inherit the properties of both an off-road vehicle and a marine vehicle, therefore multiple inheritance would be an appropriate usage.


How do you implement inheritance in c plus plus?

You implement inheritance by deriving a new class of object from an existing class of object. The existing class is known as the base class of the derived class.Classes declared final cannot be used as bases classes and classes without a virtual destructor (or a virtual destructor override) cannot be used as polymorphic base classes.


Demonstrate single inheritance in C plus plus?

struct base1 { // ... }; struct base2 { // ... }; struct derived1 : public base1 // single inheritance { // ... }; struct derived2 : public base1, public base2 // multiple inheritance { // ... };


What is single inheritance in c plus plus?

Multiple inheritance occurs when a class is derived directly from two or more base classes. class b1 {}; class b2 {}; class d: public b1, public b2 {}; // multiple inheritance class


What are the similarities between java and c plus plus?

Java is related to C and C++ in the structure of programs composed with each language. All of them are object-oriented-programming languages (oop languages). Java is meant primarily for web apps C is meant primarily for programming servers C++ is meant primarily for large applications bbb


Does Visual Java plus plus and Java Builder is different from the Java language?

Yes!Visual Java plus plus and Java Builder is different from the Java language?


Which is more popular c plus plus or java?

Java


Which is easier 'C plus plus' or 'Java'?

Java is considerably easier than C++.


What is the difference between c plus plus and java programming?

Java doesn't have pointers. C++ has pointers.


How java use extern key word which is used in C plus plus?

No extern keyword in Java.