Logo
Unionpedia
Communication
Get it on Google Play
New! Download Unionpedia on your Androidâ„¢ device!
Install
Faster access than browser!
And Ads-free!

Nullary constructor

In computer programming, a nullary constructor is a constructor that takes no arguments. [1]

6 relations: Algebraic data type, Constructor (object-oriented programming), Default constructor, Object (computer science), Object-oriented programming, Parameter (computer programming).

Algebraic data type

In computer programming, particularly functional programming and type theory, an algebraic data type is a kind of composite type, i.e. a type formed by combining other types.

New!!: Nullary constructor and Algebraic data type · See more »

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.

New!!: Nullary constructor and Constructor (object-oriented programming) · See more »

Default constructor

In computer programming languages the term default constructor can refer to a constructor that is automatically generated by the compiler in the absence of any programmer-defined constructors (e.g. in Java), and is usually a nullary constructor.

New!!: Nullary constructor and Default constructor · See more »

Object (computer science)

In computer science, an object is a location in memory having a value and possibly referenced by an identifier.

New!!: Nullary constructor and Object (computer science) · See more »

Object-oriented programming

Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which are data structures that contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. A distinguishing feature of objects is that an object's procedures can access and often modify the data fields of the object with which they are associated (objects have a notion of "this" or "self").

New!!: Nullary constructor and Object-oriented programming · See more »

Parameter (computer programming)

In computer programming, a parameter is a special kind of variable, used in a subroutine to refer to one of the pieces of data provided as input to the subroutine.

New!!: Nullary constructor and Parameter (computer programming) · See more »

References

[1] https://en.wikipedia.org/wiki/Nullary_constructor

OutgoingIncoming
Hey! We are on Facebook now! »