Which of the following is not a type of Constructor?
a) user-define constructor
b) default constructor
c) default copy constructor
d) friend constructor
Constructors are commonly used for…
a) constructing program
b) running classes
c) initializing objects
d) all of these
Which of the following is the correct syntax for user-define constructor?
a) class obj (50,10);
b) class obj [50,10];
c) class obj {50,10};
d) none of these
Using more than one constructor in the same class is called….
a) user-define constructor
b) default constructor
c) constructor overloading
d) none of these
Which of the following used to deallocate memory and do other cleanup for a class object?
a) constructor
b) destructor
c) access specifier
d) none of these
Which of the following symbol is used for destructor?
a) #
b) &
c) ~
d) $