declare constants in seperate class java code example
Example: create constant class in java
public final class MyValues {
public static final String VALUE1 = "foo";
public static final String VALUE2 = "bar";
}
public final class MyValues {
public static final String VALUE1 = "foo";
public static final String VALUE2 = "bar";
}