developmentor - a developer services company				  
				      
   Modules

Initialization


1. Which operator is used to allocate memory for an instance of a class, as well as to pass arguments to a constructor of that class?
new
delete
alloc
malloc

2. True or false: when an object is allocated, all fields are set to a default value determined by their type.
True
False

3. Each field of a class can have a "variable initializer"; that is, an initial value given at the point the field is defined. At what point during the initialization of an object is the variable initializer executed?
Immediately after the object is created
After the default field value is assigned but before the constructor
After the constructor has completed

4. True or false: constructors may be overloaded.
True
False

5. True or false: one constructor can call another constructor in the same class.
True
False

This material is excerpted from the Programming C# course offered by DevelopMentor.