A constant is declared same as variable but contains the CONSTANT keyword. If the CONSTANT keyword is missed then, it’s a variable. A constant holds a value that once declared, does not change in the program. Any attempt to change the value of a constant produces error. Similar to variable, Constants can be declared as NOT NULL.