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

how many tablespoons are in 1/4 cup
this is the study of the vital statistics of a population and how they change over time
In similar triangles, what do you know about the measure of their corresponding angles and the lengths of their corresponding sides? write a paragraph PLEASE
The equation for distance is d = st. If a car has a speed of 17 m/s, how long will it take to go 20 m? A. 1.2s B. 2.9 s C. 3 s D. 37 s
The patriot Movie when the men are at the statehouse, what are they arguing about? how do you know this
What is the correct wat towrite 0.0000250 m kn scientific notation?
Give an example in which hitler used emotional language to turn the German people against the jews.
energy from organic molecules can be stored in atp molecules as a direct result of the process of ...
Can u solve this for me??
Which of the following words meaning "expert" has the most negative connotation? A. professional B. specialist C. authority D. know-it-all