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

The model represents an equation. What value of X makes the equation true? Answers are: 3/4 9/2 -3/4 -9/2 Please help
HELP!!! GEOMETRY! What is ∠ P T R?
During a hike in Utah's Zion National Park, you pick up a sedimentary rock sample. When you examine the sample with your hand lens, you see that the rock consis
Substance abuse can eventually lead to social Isolation. OA True OB. False Reset
~PLEASE HELP~ Why is it important to develop an idea of your potential career cluster now?
who is the main character in haunting of hill house and what are his/her strengths and weaknesses?
What is the slope of the function? O -6 O -4 O 4 O 6
4. Which sentence signals a plot twist about halfway through the story? A."The kid with the earring starts screaming, 'Goldfish, goldfish. B.“No reason to take
PLEASE HELP I WILL MARK YOU BRAINLIEST
The system represents lines that , therefore the system has