Translate:
English
Chinese (S)
Chinese (T)
Croatian
Dutch
French
German
Hebrew
Italian
Japanese
Korean
Portuguese
Russian
Serbian
Spanish
Swedish
Turkish
Additional
Constructor (object-oriented programming)
English Wikipedia - The Free Encyclopedia
Download this dictionary
Constructor (object-oriented programming)
In
class-based
object-oriented programming
, a
constructor
(abbreviation:
ctor
) in a
class
is a special type of
subroutine
called to
create an object
. It prepares the new object for use, often accepting
arguments
that the constructor uses to set required
member variables
.
See more at Wikipedia.org...
© This article uses material from
Wikipedia
®
and is licensed under the
GNU Free Documentation License
and under the
Creative Commons Attribution-ShareAlike License