Which of the following is false?
a. You should not call overridable methods from constructors—when creating a subclass object, this could lead to an overridden method being called before the subclass object is fully initialized.
b. It’s OK to any of a class’s methods from its constructors.
c. When you construct a subclass object, its constructor first calls one of the direct superclass’s constructors. If the superclass constructor calls an overridable method, the subclass’s version of that method will be called by the superclass constructor.
d. It’s acceptable to call a static method from a constructor.
b. It’s OK to any of a class’s methods from its constructors.
You might also like to view...
Files with a particular extension can be searched even though the extension is hidden
Indicate whether the statement is true or false
Brackets are used in the algorithm of loops:
a. To indicate which instructions are to be repeated. b. To indicate the beginning and end of the loop. c. To indicate the entire loop. d. None of the above.