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

Is anyone excited for the summer? -Ignore the subject I selected
How did Louis and clack reach the pacific ocean
what situation best describes a differnece in interpertration
Use the euclidean algorithm to find integers $x$ and $y$ such that $164x + 37y = 1,$ with the smallest possible positive value of $x$. state your answer as a l
How many moles of carbon dioxide are there in 52.06 g of carbon dixoide
10z + 2z - 4 please thx
please help!! geometry problem need asap
So I have a 90.8 in a class the final is 15% of the grade there is a final worth 3.75% of the final grade and a final worth 11.25% of the final grade. I know I
1,1 Ermelo is situated in A Gauteng B North West C Mpumalanga Free state D O​
Explain why the process of industrialization is called a revolution, and summarize the effects of industrialization on the people of the era. final fraft