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
Computer Science & Information Technology
You might also like to view...
Google+ demographics are similar to those of Facebook and other similar social networks
Indicate whether the statement is true or false
Computer Science & Information Technology
A standard way for a data source to be organized is with records in:
A) columns. B) rows. C) cells. D) tables.
Computer Science & Information Technology