When is the constructor function executed? What is its primary purpose?
What will be an ideal response?
The constructor function is executed when the program control executes the declaration statement for the object. The primary purpose of the constructor function is to perform data initialization statements for the class data members.
Computer Science & Information Technology
You might also like to view...
A(n) ________ query removes all the records in the underlying table of a query dataset that meet specific criteria
Fill in the blank(s) with correct word
Computer Science & Information Technology
The ________ aggregate function returns the value with the highest value
Fill in the blank(s) with correct word
Computer Science & Information Technology