The purpose of a constructor in a class is to:

The purpose of a constructor in a class is to:

The purpose of a constructor in a class is to:

A.
Initialize an object of that class.

B.
Release the resources that the class holds.

C.
Create a value type.

D.
Inherit from the base class.

Explanation:
Each value type has an implicit default constructor that initializes the default value of that
type.



Leave a Reply 0

Your email address will not be published. Required fields are marked *