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.
Inherit from the base class.

C.
Release the resources that the class holds.

D.
Create a value type.

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 *