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 one of its instance variables?
A) a syntax error occurs
B) a compile-time error occurs
C) a run-time error occurs
D) the instance variables are initialized to their default values
Correct Answer:

Verified
Correct Answer:
Verified
Q2: The UML distinguishes an interface from other
Q38: Objects of abstract base classes can be
Q57: Polymorphism allows the addition of classes providing
Q61: Private fields of a base class can
Q62: When a program creates a derived-class object,the
Q63: Declaring an interface Protected allows for extra
Q64: Which is used to specify that a
Q66: An interface is typically used in place
Q68: The _ keyword is used to define
Q70: A class may implement only one interface.