35.0k views
0 votes
. Constructors are executed when?

1 Answer

4 votes

Answer:

The constructor are executed when the constructor object are comes in the existence as per the general rule in the computer programming language. The constructor is the special type of the class function that basically perform the initialization of the each object in the computer science.

Then, the constructor initialized actual value of the member of an object are allocated to the given object in the system.

User ChethiyaKD
by
4.3k points