answersLogoWhite

0

clearly define inheritance and the reason behind using inheritance

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

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 are the Koran laws?

The Koran laws are called in Arabic 'Sharia'a' that define God rules in marriage, divorce, inheritance, witness, money lending and borrowing, ...


Does hybrid inheritance consist of ANY two types of inheritance?

There are only two types of inheritance to begin with: single inheritance and multiple inheritance. Since they are mutually exclusive there is no such thing as hybrid inheritance.


Why object is the super class in java?

The answer to this is related to the idea of inheritance in general - the idea of inheritance is that you define a common set of behaviors, that apply to all subclasses. Anything defined in the "Object" class is available to all classes you create. Look in the documentation for the description of the "Object" class, to see what methods are available in all Java classes.


Is a cash inheritence community property?

No. An inheritance is separate property.No. An inheritance is separate property.No. An inheritance is separate property.No. An inheritance is separate property.


In C plus plus How would you use Inheritance to create an Orange?

One way would be to define a base class called fruit, from which you could derive specific types of fruit, including an orange.


Different types of inheritances?

Single Inheritance Multiple Inheritance Multilevel Inheritance


What is the name of the last Inheritance book?

Inheritance


What is the Definition of multiple inheritance?

Direct Multiple Inheritance in Object Oriented terms is the feature where one class extends/inherits the features of multiple classes. ex: Assuming there is a class A which has method a() and class B which has method b() - Now if we need a class C that needs the features of both A and B it could be like: public class C extends A, B { ... } This way it can use both the methods a() and b(). Unfortunately Java does not support direct multiple inheritance. You can achieve partial multiple inheritance using interfaces.


What is inheritance cash?

"Inheritance cash is just like any other inheritance, except it's money as opposed to land or a house or other assets." An inheritance is something that is left to you by a family member who has passed away. Inheritance cash is just the money form of an inheritance.


How can one get an inheritance advance?

If you are due an inheritance that is in probate, or will receive an inheritance that is in trust it might be possible for you to get an inheritance advance. There are numerous companies online that offer this service. Loans are usually to the value of 50-60% of your inheritance.


Who wrote the book Inheritance?

Christopher Paolini wrote the book Inheritance.