JAVA Constants Constants (often referred to as literals) are data items that are fixed data values.That means a constant is a value that cannot be changed throughout the program.Kinds of Constants:integer-literalsfloating-literalsBoolean-literals character-literalsstring-literalsthe null literalNote => The keyword ‘final‘ makes a variable as constant.Syntax: final data_type variable_name = value; Example: final double TAXRATE = 0.25; February 3, 2022 by Learn2Done JAVA