Solved

When a Derived Class Constructor Calls Its Base Class Constructor,what

Question 37

Multiple Choice

When a derived class constructor calls its base class constructor,what happens if the base class's constructor does not assign a value to an instance variable


A) a syntax error occurs
B) a compile-time error occurs
C) a run-time error occurs
D) the program compiles and runs correctly because the instance variables are initialized to their default values

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions