java declare string constant in class code example
Example 1: constant java declaration
final double Pi = 3.1415926536;
Example 2: create constant class in java
public final class MyValues {
public static final String VALUE1 = "foo";
public static final String VALUE2 = "bar";
}