PrepAway - Latest Free Exam Questions & Answers

The purpose of a constructor in a class is to:

The purpose of a constructor in a class is to:

PrepAway - Latest Free Exam Questions & Answers

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