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

what is 46.78 - 18.55 estimate each sum of difference
Write questions for there answers.Use the words in brackets. 1.She's going to go to university in the USA (Where) 2.No i'm not going to make a film soon (Are/ b
Add and Simplify 9/16 1/2
What is another way to write 9x200?
granola a solution colloid or suspension
A classroom globe has a diameter of 12 inches. What is the volume of the globe? Use 3.14 for pi. Round your answer to the nearest hundredth. 904.32 in3 2144.66
The main reason that Emma Goldman was significant in the history of World War I was that she?
Dodder is a parasitic plant, which has roots for support and absorption of nutrients from the host plant. what kind of roots are these? a haistorial roots b no
50.38 inches in 2012 in 2013 the annual rainfall was 55.76 inches what is the difference in rainfall between the two years
what is the percent composition by mass of hydrogen in NH4HCO3 (gram-formula mass = 79 grams/mole)?