4
AssignmentMultiple Choice

Project: The Importance of Usability

Question 4 • ASC Programming, Games, Apps and Society

Which statement is true about constructors?

Answer
A
Constructors must pass values by reference similar to the classes they are copying.
B
Constructors always have a value of zero or null, and that cannot be changed.
C
User-defined constructors must have the same name as the classes they are copying.
D
Constructors cannot use the same objects as a parent class.
Previous
Next