jesus7486 jesus7486
  • 22-08-2019
  • Computers and Technology
contestada

Why do we generally favor composition over inheritance?

Respuesta :

Cetacea
Cetacea Cetacea
  • 30-08-2019

Answer:

Composition is the technique where the the design can be changed in future according to the requirement as it has a malleable flow of nature.

Inheritance is the techniques where the factors of the model is acquired from the other design and thus shows a rigid nature due to the derivative nature.

Hence composition is preferred over the inheritance method as it can be changed accordingly which makes it's nature helping than the inheritance which have certain unaltering nature.

Answer Link

Otras preguntas

What is the word that means protecting ecosystems and the organisms and the organisms living in them?
Uranus experiences extreme seasonal weather variations due to its A. distance from the Sun. B. proximity to Jupiter. C. speed of rotation. D. 97° axial tilt.
if y = 14 when x= 8, find y when x = 12
If 4.5 pounds of cherries cost $10 what Is unit price per pound?
What is the name of the reaction when you split a disaccharide?
The United States and Great Britain sought no intervention in conquered lands after World War II. True or False?
how do you add, subtract, multiply, and divide numbers written in scientific notation?
An article in the local paper states that 30% of the students at Oak Grove Middle School earned a place on the silver honor roll. If there are 920 students at O
what 30.000 divided by 500?
Simplify 8(3 - 2x). 24x - 16 16x - 24 24 - 16x