mgillis5436 mgillis5436
  • 23-08-2019
  • Computers and Technology
contestada

In an inheritance situation, you may not pass arguments to a base class constructor.

True

False

Respuesta :

ExieFansler ExieFansler
  • 30-08-2019

Answer:

False.

Explanation:

We can pass arguments in base class constructor if there is a parameterized constructor present in the base class.

What happens when there is a parameterized constructor present in a class? The answer is the default constructor gets deleted if there is a parameterized constructor present.Then we can only create an object with parameterized constructor and this is applicable for all classes.

Answer Link

Otras preguntas

Maria buys 8 1/3 pounds of beef to make tacos for a party. She uses 5/9 pound of beef for each taco. How many tacos can Maria make?
What treaty created the EU? a. England Treaty c. Maastricht Treaty b. European Treaty d. Churchill Treaty
What was a root cause of the Containment Policy? A. the bombing of Hiroshima B. the Marshall Plan C. the establishment of the United Nations D. Soviet expansion
the sum of 3 fifteens and 17 fifteens
what number is 215 percent of 41.8
Tyler had 2 7/16 yards of fabric. He used 3/4 yard to make a vest about how much fabric did he have left??
what percent is 24 of 96
Which was included in England's Bill of Rights in 1689? A. legal tolerance for Catholics, Jews, and Muslims B. the first promise of trial by jury in Engla
plant cell and animal cell and function
What did the waskashan carve?