In Java the term default constructor can refer to a constructor that is automatically generated by the compiler in the absence of any programmer-defined constructors , and is usually a nullary constructor.
Remarks
- a nullary constructor is a constructor that takes no arguments. Also known as a 0-argument constructor.
- Text provided above does not means is the model answer, and it's was posted here for an reference to somebody who interested the related knowledge only. if there is something incorrect, please leave a comment so that i can correct it, if you want know more about this topic and where is the question, concept or answer from, you can reference from information provided under the reference sub-title.
Introduction to Java Programming, Y. Daniel Liang
https://en.wikipedia.org/wiki/Default_constructor
https://en.wikipedia.org/wiki/Nullary_constructor
No comments :
Post a Comment