answersLogoWhite

0

Inheritance is a feature in Java wherein one class will inherit or use the features of another class.

Ex: public class A extends B {

…

}

Here class A is the child class and B the parent. The child inherits the features/methods of the parent and can use them.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is an inheritance Explain different types of inheritance in c?

C is not an object oriented language and therefore has no native support for inheritance.


Can you give Practical example for multilevel Inheritance?

Grandfather-father-child relationship is an example for multi level inheritance..


Explain different types of inheritance of object oriented programming?

== ==


How can you inheritance as a sentence?

Example sentence - His inheritance was small in comparison to the size of the estate.


How did the work of Mendel help explain inheritance of traits?

because of punjabi


Which is not an example of cytoplasmic inheritance?

Mitochondrial DNA inheritance is not an example of cytoplasmic inheritance. Cytoplasmic inheritance involves the transmission of genetic material contained in the cytoplasm of the cell, while mitochondrial DNA is a separate genome found within mitochondria, which are organelles within the cytoplasm of the cell.


What is the likely mechanism of inheritance for a character with a large range of phenotypes Explain?

mech and cromosomes


Is Colourblindness in males is an example of incomplete dominance?

No, it is an example of sex-linked recessive inheritance.


What is a unit inheritance?

Unit Inheritance or Single Inheritance refers to the situation where one class inherits/extends the features of another class ex: public class A extends B { ..... } The above is an example of unit inheritance.


What type of inheritance is eye color?

Eye color inheritance is an example of incomplete dominance, where a mix of alleles from both parents determines the final eye color.


Are Blood groups are a classic example of what inheritance in humans?

Yes, blood groups are a classic example of inheritance in humans. Blood group inheritance follows patterns determined by specific genes passed down from parents to their offspring. These genes determine the specific type of antigens present on red blood cells, which determine an individual's blood group.


Is blood type an example of polygenic inheritance?

It is co dominance (AB)