Java View all facts Glossary Help |
syntactic unit > access unit > constructor > default constructor |
default constructor comparison table |
Subject | have | is a kind of | has definition |
---|---|---|---|
constructor | the same name as its class | access unit | A procedure that is called whenever a new object is created |
default constructor | no parameters | constructor | A constructor that is automatically provided by the runtime system for any class that contains no explicit constructors |
Next constructor: constructor with no parameters Up: constructor