Term of the Moment

Computer History Museum


Look Up Another Term


Definition: declaration


In programming, an instruction or statement that defines some type of program element (fields, variables, functions, arrays, etc.), as well as resources. Declarations do not generally create executable code. More often, they describe the structures in the program so that the compiler knows how to deal with them.