What are Constructors, and how are Constructors used?

added by DotNetBlocks
1/14/2011 12:23:20 AM

128 Views

Constructors are methods or subroutines that are called when a new instance of a class is created as an object. The constructor is called to initialize the values of the internal variables (data members) in the object and other advanced data types that form a Has-A relationship with the object.


0 comments