The statement of declaring a constant in Java is final

Code:

final static double PI = 3.14;
final int DAY = 24;

PLEASE note that the constant name should be in CAPITAL LETTERS.