Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
6 user(s) are online (5 user(s) are browsing encyclopedia)

Members: 0
Guests: 6

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

Constructor (computer science)

In object-oriented programming, a constructor is a method (computer science) which is automatically invoked when the object (computer science) is created. Its main purpose is to pre-define the object s data members. A properly written constructor will leave the object in a valid state.

=See also=

*Destructor (computer science) *Object lifetime *Initializer

=References=

  • Bjarne Stroustrup: The C++ Programming Language , Addison-Wesley, ISBN 0-201-70073-5