Which statement is false?
a. The compiler always creates a default constructor for a class.
b. If a class’s constructors all require arguments and a program attempts to call a no-argument constructor to initialize an object of the class, a compilation error occurs.
c. A constructor can be called with no arguments only if the class does not have any constructors or if the class has a public no-argument constructor.
d. None of the above.
A
Computer Science & Information Technology
You might also like to view...
The ________ function looks for a value in the top row of a table and returns a value from a row in the same column
A) VLOOKUP B) HLOOKUP C) INDEX D) ARRAY
Computer Science & Information Technology
When the formatting marks are displayed, tabs are indicated by ____ arrows.
A. right-facing B. left-facing C. upward-facing D. downward-facing
Computer Science & Information Technology