Get it on Google Play
New! Download Unionpedia on your Android™ device!
Faster access than browser!

Nullary constructor

Index 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, especially 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) 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 can be a variable, a data structure, a function, or a method, and as such, is a value in memory 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 may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. A 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 (often called formal parameter or formal argument) 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 »

Redirects here:

0-argument constructor.


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

Hey! We are on Facebook now! »