What is the main purpose of a class constructor function?

A. to destruct the class when the program ends.
B. to create object and initialize class data when called in main or in another function.
C. to reserve memory for all program variables.
D. To run all of the member functions.


B

Computer Science & Information Technology

You might also like to view...

A(n) ____________________ represents a single binary value.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Describe the five activities associated with the software measurement process.

What will be an ideal response?

Computer Science & Information Technology

You should organize text on your web pages with bulleted and numbered lists if possible.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following is the path to the Custom Views button?

A. (VIEW tab | Show group) B. (VIEW tab | Workbook Views group) C. (VIEW tab | Window group) D. (VIEW tab | Display group)

Computer Science & Information Technology