Computer Science, asked by vaddijayasri78, 7 months ago

define inheritance and polymorphism ?​

Answers

Answered by Anonymous
0

Answer:

Inheritance is one in which a new class is created (derived class) that inherits the features from the already existing class(Base class). Whereas polymorphism is that which can be defined in multiple forms. 2. It is basically applied to classes. Whereas it is basically applied to functions or methods.

Answered by BrainlyPARCHO
3

  \green{  \fcolorbox{grey}{grey}{ \checkmark \:  \textsf{Verified \: answer}}}

  • Polymorphism is a form of genetic variation in which distinct nucleotide sequence can exist at different sites in a DNA molecule.
  • This heritable mutation is observed at a high frequency in a population.
  • It arises due to mutation either in somatic cell or in the germ cells.
  • The germ cell mutation can be transmitted from parents to their offsprings.
  • This results in accumulation of various mutations in a population, leading to variation and polymorphism in the population.
  • This plays a very important role in the process of evolution and speciation.
Similar questions