Content deleted Content added
No edit summary |
|||
Line 1:
In [[object-oriented programming]], a '''constructor''' (sometimes shorted to '''ctor''') in a class is a special [[method (computer science)|method]] (function) called when an object is declared and never has a return type. Constructors are special [[method (computer science)|instance methods]] that are called automatically upon the creation of an [[object (
=== [[Java programming language|Java]] ===
|