When a subclass constructor calls its superclass constructor, what happens if the superclass’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 because the instance variables are initialized to their default values.
d. The program compiles and runs because the instance variables are initialized to their default values.
You might also like to view...
Forms can be customized so that users can only view the data; they cannot change it
Indicate whether the statement is true or false
Match each of the following terms with its typical location in a cover letter
I. Dateline II. Complimentary closing III. Writer's signature block IV. Letterhead V. Inside address A. Follows the dateline B. At the top of the letter C. Follows the complimentary closing D. Under the letterhead E. After the body of the letter