answersLogoWhite

0

Multiple Inheritance : we can inherit more than one class in the same class. Multi-Level Inheritance: where one class can inherit only one base class and the derived class can become base class of some other class.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the Difference between multiple inheritance and multilevel inheritance in asp.net?

Multiple inheritance, as the name 'multiple' suggests, is one where more than one(multiple) super class is inherited by one sub-class. It can be represented as:A B C\ | /DOn the other hand, in case of multilevel inheritance; the superclass is inherited by a sub-class which is in turn inherited by another class leading to the different level. It can be represented as:A|B|CHowever in asp, multiple inheritance is not supported.


What is the Difference between multiple inheritance and multilevel inheritance in java?

Multilevel InheritanceA Scenario where one class is inheriting/extending the bahavior of another class which in turn is inheriting behavior from yet another class.Ex: public class Automobile {…}Public class Car extends Automobile {…}Public class Ferrari extends Car {…}This multilevel inheritance actually has no limitations on the number of levels it can go. So as far as java goes, it is limitless. But for maintenance and ease of use sakes it is better to keep the inheritance levels to a single digit number.Multiple InheritanceActually, java does not support multiple inheritance. You can achieve partial multiple inheritance using interfaces but java is not like C or C++ where you can do direct multiple inheritance. However, you can achieve partial multiple inheritance with the help of interfaces.Ex: public class FerrariF12011 extends Ferrari implements Car, Automobile {…}And this is under the assumption that Car and Automobile are interfaces.Here if you see, though you don't inherit concrete code from the Car or the Automobile interface, you do inherit skeleton methods that determine the way your class eventually behaves and hence this can be considered partial Multiple Inheritance.


What is the difference between numbered text and multilevel numbered text?

1


What is the difference between epistasis and polygenic inheritance in genetics?

Epistasis is when one gene affects the expression of another gene, while polygenic inheritance involves multiple genes contributing to a single trait. Epistasis involves the interaction between genes, while polygenic inheritance involves the cumulative effect of multiple genes on a trait.


1.Give an example to show the difference between numbered text and multilevel numbered text?

[object Object]


The color of wheat grains shows variability between red and white with multiple phenotypeswhat is the inheritance pattern?

The inheritance pattern of wheat grain color showing variability between red and white with multiple phenotypes is most likely controlled by multiple genes, exhibiting polygenic inheritance. This means that the trait is influenced by the combined effects of multiple genes, leading to a continuous range of phenotypes rather than distinct categories.


Is there a difference between estate being willed to you or inheritance?

No. Property that you receive by a will IS an inheritance. Property received from a relative under the laws of intestacy when there was no will is also an inheritance.


Specialization form of inheritance?

Inheritance refers to the concept by which the features from one class can be extended/made available in other classes. Java supports 3 forms of inheritance * Single Inheritance * Multiple Inheritance * Multilevel Inheritance (Can be implemented using interfaces)


What is the difference between class inheritance and interface inheritance?

interface inheritance is a misleading term. Interface inheritance would be equivalent to the union of the method signatures of interfaces ( no typo here, an interface may implment multiple other interfaces) Class inheritance - single hierarchy (in C#), and not only the methods are inherited, but also the data members. (interface in C# cannot define data members)


What is the difference between pleiotropy and polygenic inheritance?

Pleiotropy refers to a single gene influencing multiple phenotypic traits, while polygenic inheritance involves multiple genes contributing to a single trait. Pleiotropy can lead to diverse phenotypic effects, while polygenic traits are often influenced by the additive effects of multiple genes.


difference between object and oriented program?

JAVA is an Object Based Programming Language. it doesn't provide multiple inheritance and operator overloading. while Object Oriented Lanuages provides both.


What is the difference between finding a factor and finding a multiple?

a factor is what you multiply by a multiple is the answer