hassanxh16 hassanxh16
  • 20-01-2021
  • Computers and Technology
contestada

What is the difference between private inheritance and composition?

Respuesta :

ijacoby1861
ijacoby1861 ijacoby1861
  • 27-01-2021

Answer:

Explanation:

Use composition when you can, private inheritance when you have to. Normally you don't want to have access to the internals of too many other classes, and private inheritance gives you some of this extra power

Answer Link

Otras preguntas

Which household object best fits this description? Cet appareil est utilisé pour faire griller des tranches de pain. A. un fer à repasser B. une mixer C. un
Aspects of our personality pertaining to what we could become, what we would like to become, and what we are afraid of becoming are called Group of answer choic
____________ is when suppliers allow a business to take possession of needed goods and pay for them at a later date or in installments. Group of answer choices
use the tools to measure the velocity of the cart after the string was cut. This velocity will be a constant on a smooth surface (after the spring is no longer
What is the approximate diameter of one cell
1 1/6 + (x/3 · 1/4) = 1 3/4 solve for x
find x and y pls help
HELP PLS!!! I GIVE BRAINLIEST
Radiation in the ultraviolet region of the electromagnetic spectrum is quite energetic. It is this radiation that causes dyes to fade and your skin to develop a
If a population doubles in the course of 100 years, its growth rate would be approximately ________%.