A constructor
a. can only be used to initialize
b. must initialize all member variables
c. can do anything any other method can do.
d. usually initializes all, or most, member variables
c and d
Explanation: c) is right. The exception is that a constructor cannot be called as if it were a member function. d) Aconsructor’s purpose is allcating and initializing resources.
You might also like to view...
Tap or click the ____________________ button on the right side of the title bar to exit Outlook.
Fill in the blank(s) with the appropriate word(s).
The Hyper-V PowerShell Management Library is available from the ___________ site.
Fill in the blank(s) with the appropriate word(s).
Two types of professional-looking lists can be created in OpenOffice Writer
Indicate whether the statement is true or false
A(n) ____ region is an area in a template-based page that can be edited.
A. editable B. optional C. repeating D. variable