creating a constants class in 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";
}