请教几个C++问题# Programming - 葵花宝典
p*l
1 楼
Please help on these multiple choices, explanation would be great.
1.
Which one of the following statements regarding constructors is FALSE?
Choice 1
A constructor allocates storage for all variables in the object's
structure.
Choice 2
A constructor cannot return a value.
Choice 3
A constructor should initialize all variables in the object's structure.
Choice 4
A constructor may be overloaded.
Choice 5
A copy constructor will be implicitly defined if one is not specified.
is
1.
Which one of the following statements regarding constructors is FALSE?
Choice 1
A constructor allocates storage for all variables in the object's
structure.
Choice 2
A constructor cannot return a value.
Choice 3
A constructor should initialize all variables in the object's structure.
Choice 4
A constructor may be overloaded.
Choice 5
A copy constructor will be implicitly defined if one is not specified.
is