Constructor (object-oriented programming): Difference between revisions

Content deleted Content added
m Python: modern Python 3
Monkbot (talk | contribs)
m Task 18 (cosmetic): eval 3 templates: del empty params (1×);
Line 151:
</syntaxhighlight>
 
A constructor taking zero number of arguments is called a "no-arguments" or "no-arg" constructor.<ref>{{cite web|url=http://docs.oracle.com/javase/tutorial/java/javaOO/constructors.html|title= Providing Constructors for Your Classes |author=|publisher=Oracle Corporation|date=2013|accessdate=2013-12-20}}</ref>
 
=== JavaScript ===