6.1 Declarations

A declaration introduces an entity into a Java program and includes an identifier (§3.8) that can be used in a name to refer to this entity. A declared entity is one of the following:

Constructors (§8.6) are also introduced by declarations, but use the name of the class in which they are declared rather than introducing a new name.