21.
Which of the following is correct?
a) Destructors can be virtual
b) There can be more than one destructor in a class
c) Destructor definition starts with !
d) Destructor is used to initialize objects
22.
Which of the following implicitly creates a default constructor when the programmer does not explicitly define at least one constructor for a class?
A. Preprocessor
B. Linker
C. Loader
D. compiler
23.
constructor _______ to allow different approaches of object construction
A. Cannot overloaded
B. Can be overloaded
C. Can be called
D. Can be nested
24.
When are the Global objects destroyed?
A. When the control comes out of the block in which they are being used
B. When the program terminates
C. When the control comes out of the function in which they are being used.
D. As soon as local objects die
25.
Whenever const objects try to invoke member functions, the compiler ________
A. Return zero value
B. Return Null
C. Generate error
D. Return no Value