A constructor is used to: Group of answer choices ... initialize the instance members of a class. ... initialize the static members of a class. ... initialize both instance and static members of a class. ... declare the member variables of a class.

Respuesta :

Answer:

Initialize both the instance and static members of a class

Explanation:

A constructor is classified under special functions having the function name to  be the same as the class name. Its basic use is for constructing and initializing all the data members. When creating a new instance for a class, the name of the instance must be declared and then the constructor is invoked. Static constructor are used for the initialization of static data.

ACCESS MORE