viewing paste Unknown #27610 | Text

Posted on the
1 2 3 4 5 6 7 8
A constructor (check all that apply):
 
    A.  will receive a compiler error if it fails to test a parameter's value for validity before assigning the parameter's value to member.
    B.  may use assignment statements to initialize class data.
    C.  will always result in a run time error  and program crash if it fails to test a parameter's value for validity before assigning the parameter's value to member.  This will happen the first time we run a program, and alert us to the fact that there is a problem.
    D.  must use mutators to initialize class data.
    E.  may use mutators to initialize class data.
    F.  must use assignment statements to initialize class data.
Viewed 909 times, submitted by Guest.