One of the two major kinds of element in a conventional program, the other being a statement. A declaration introduces an entity for part of the program—its scope—giving it a name and establishing its static properties. Examples are declarations of variables, declarations of procedures, declarations of input/output ports or files.