Check out example codes for "create constant class in java". It will help you in understanding the concepts better.

Code Example 1

public final class MyValues {
  public static final String VALUE1 = "foo";
  public static final String VALUE2 = "bar";
}

Learn ReactJs, React Native from akashmittal.com