answersLogoWhite

0

Why you need to use inheritance?

User Avatar

Anonymous

15y ago
Updated: 8/17/2019

Inheritance is an object oriented programming concept that helps us with the following benefits:

  • You can reuse existing code instead of having to write them again
  • redundancy of code is avoided
  • rework and maintenance is easy
User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is a use inheritance?

Code Re-use is one of the biggest uses of Inheritance


Use the word inheritance in a sentence?

She received a large inheritance from her wealthy grandmother.


What is the NY State tax on inheritance?

I live I Indiana and received an inheritance from a relative in New York. I received a K-1 form showing amounts to use on tax form. What form do I need to use to report this. Do I owe taxes to New York or only need to show the amounts on Federal and Indiana tax forms?


Do you pay taxes on a trust inheritance?

Depending on where someone lives depends on the need to pay taxes on any inheritance they get from a living trust. The beneficiary of an estate from inheritance will need to pay taxes to take possession of assets.


Does an inheritance after a person's death need to be part of the estate?

Once someone has died, they can longer receive an inheritance.


Did Gregor Mendel use animals in his experiments?

Mendel studied plant inheritance.


What happens to an inheritance during bankruptcy?

If the inheritance is based on a death within 180 days of filing bk, the inheritance becomes part of the estate and the trustee will use it to pay your creditors.


Why is multiple inheritance not possible in C?

C is not object-oriented -- you can't even use single inheritance let alone multiple inheritance.


Need of interface in java?

Interfaces are used in Java to accomplish most of the goals of Multiple Inheritance. For several reasons, Java only supports Single Inheritance for classes - i.e. a class can have only a single parent. The use of Interfaces is how Java attempts to implement most of the positives of the concept of Multiple Inheritance while avoiding its pitfalls.


How do you go about claiming your inheritance from your grandmother?

In order to go about claiming your inheritance from your grandmother, you will need to file a document in the court stating your entitlement to the inheritance. The claim must be endorsed by the court and sent to the administrator of the estate.


How does a geneticist use a pedigree?

A geneticist would use a pedigree to trace the inheritance of traits in humans.


Can you use heredity in a sentence?

Heredity is the study of the inheritance of genes.