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

what does | | around a number mean? ex: |3|
the ratio of wins to losses for a team is 60 wins and 90 losses what is the ratio?
coordinates of two points on the line of y=-2
Fill in the missing numbers to complete the linear equation that gives the rule for this table. x y 1 44 2 17 3 -10 4 -37
Slope=2, y-intercept=(0,3) Write in standard Form:
Which region depicts American intervention in foreign affairs because of the Good Neighbor policy?
Which of the following statements best assesses the significance of the Minamata disaster? A. It was the largest oil spill to occur before the year 2000. B. It
What type of blood vessel returns blood to the heart?
Which question best completes the following conversation? Reinato: _______________________________ Julia: Mi número de teléfono es 1-05-5-89-17
how to do proof problems in geometry