destructors
Physically deletes cleans anything especially in dynamic memory that the constructor did
So detractors are called automatically when the program ends and can be used with syntax delete [object] which should be used in the main function
What are constructors
Its a function to initialize objects of the same type with different properties
http://en.wikipedia.org/wiki/Property_(programming)
http://msdn.microsoft.com/en-us/library/z0w1kczw.aspx
There can also. Be private member functions which have limited scope
A class or constructor of an object like a strict is also an abstract data type
We have uml again
Which is just
Class name
member variables
Member functions
Plus signs for public and private members are indicated by negatives
A colon AND the data type Can be appended to each to indicate further the context of the class
Constructors of course can be listed as well as the detractors for a complete model of a class
So detractors are called automatically when the program ends and can be used with syntax delete [object] which should be used in the main function
What are constructors
Its a function to initialize objects of the same type with different properties
http://en.wikipedia.org/wiki/Property_(programming)
http://msdn.microsoft.com/en-us/library/z0w1kczw.aspx
There can also. Be private member functions which have limited scope
A class or constructor of an object like a strict is also an abstract data type
We have uml again
Which is just
Class name
member variables
Member functions
Plus signs for public and private members are indicated by negatives
A colon AND the data type Can be appended to each to indicate further the context of the class
Constructors of course can be listed as well as the detractors for a complete model of a class