A class may have ________ default constructor(s) and ________ destructor(s).

A) only one, only one
B) only one, more than one
C) more than one, only one
D) more than one, more than one
E) no, only one


A) only one, only one

Computer Science & Information Technology

You might also like to view...

Suppose we have two constructors for a class, one that passes in parameters and one that doesn’t. Which of the following is true?

A. Because we have two constructors when there should only be one, we will get a compiler error when we try to compile the program. B. The client will be able to use the constructor that passes in parameters, but the client will not be able to use the constructor that doesn’t pass in parameters. C. The client can use either one of these constructors, whichever one suits his/her needs. D. It would be extremely poor programming practice for the client to use the constructor that passes in no parameters.

Computer Science & Information Technology

A(n) ____ file consists of several time entries, each marked with a time stamp.

A. WebVTT B. MIME C. AU D. HTML

Computer Science & Information Technology

Perform the task specified by each of the following statements:

a) Write the function header for a function called exchange that takes two pointers to double-precision, floating-point numbers x and y as parameters and does not return a value. b) Write the function prototype for the function in part (a). c) Write the function header for a function called evaluate that returns an integer and that takes as parameters integer x and a pointer to function poly. Function poly takes an integer parameter and returns an integer. d) Write the function prototype for the function in part (c). e) Write two statements that each initialize character array vowel with the string of vowels,"AEIOU".

Computer Science & Information Technology

Which of the Insert Table commands enables you to select the number of rows and columns for a table by pointing to individual cells?

A) Excel B) Insert Table C) Table Grid D) Draw Table

Computer Science & Information Technology