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

Help me i will put your brainliest
Taking the sociological approach to everyday life has strengths and weaknesses. One of the weaknesses of this approach is that it: A. requires you to act like a
compare the momentum of a semi truck moving 20 m/s and a bicycle moving 20 m/s​
Pablo : ___ , ¿sera’s artists?
Jose Is planning an end of the year swimming party for some of his friends he wants to make gift bags for each of them I he has 6 beach ball and 12 small frisbe
Consider the functions f(x) = 3x2, g(x)=1/3x , and h(x) = 3x. Which statements accurately compare the domain and range of the functions? Select two options.
please help on the ones that are boxed.​
how did people find love back then?
What is wrong with the following? 4x+8=4x+8
NEED HELP ASAP, WILL GIVE BRAINLIEST!! (Question from "April When the Third Expedition lands, the crew members see 2000: The Third Expedition") A) an advanced a