declaration The definition of a class, constant, method, or variable that specifies the name and, if appropriate, the data type. Related terms class, constant, data type, method, variable Contrast with class declaration