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. In other languages (e.g. in C++) it is a constructor that can be called without having to provide any arguments, irrespective of whether the constructor is auto-generated or user-defined. Note that a constructor with formal parameters can still be called without arguments if default arguments were provided in the constructor's definition.
- Comment
- enIn 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. In other languages (e.g. in C++) it is a constructor that can be called without having to provide any arguments, irrespective of whether the constructor is auto-generated or user-defined. Note that a constructor with formal parameters can still be called without arguments if default arguments were provided in the constructor's definition.
- Has abstract
- enIn 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. In other languages (e.g. in C++) it is a constructor that can be called without having to provide any arguments, irrespective of whether the constructor is auto-generated or user-defined. Note that a constructor with formal parameters can still be called without arguments if default arguments were provided in the constructor's definition.
- Is primary topic of
- Default constructor
- Label
- enDefault constructor
- Link from a Wikipage to another Wikipage
- C++
- Category:Method (computer programming)
- Constructor (computer science)
- C Sharp (programming language)
- Default argument
- Java (programming language)
- Nullary constructor
- Parameter (computer science)
- Programming languages
- SameAs
- 3v9eb
- Hàm tạo mặc định
- m.0c8s2h
- Q4231567
- Конструктор по умолчанию
- 缺省构造函数
- 기본 생성자
- Subject
- Category:Method (computer programming)
- WasDerivedFrom
- Default constructor?oldid=1003975789&ns=0
- WikiPageLength
- 6884
- Wikipage page ID
- 4557442
- Wikipage revision ID
- 1003975789