- A Constructor is a special type of method that is invoked when you create a new instance of a Class.
- A constructor is used to initialize the members of the class.
- A destructor is invoked when an object is destroyed.
- A destructor releases the resources used by an object.
Saturday, July 31, 2010
Constructors and Destructors
Posted by Ashwin Patel at 5:50 PM
Labels: Constructors, Destructors, what are, what is, who is
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment