title: What is the difference when calling attribute from interface vs static class
body: <pre><code>public interface AFEvent {
    public String UNKNOWN ="Unknown";
    public String ERROR = "EQUINOX_EVENT_ERROR";
    public String REJECT = "EQUINOX_EVENT_REJECT";
    public String ABORT = "EQUINOX_EVENT_ABORT";
  }
  </code></pre>
  
  <p>And </p>
  
  <pre><code>public class AFEvent {
     public static final String UNKNOWN ="Unknown";
     public static final String ERROR = "EQUINOX_EVENT_ERROR";
     public static final String REJECT = "EQUINOX_EVENT_REJECT";
     public static final String ABORT = "EQUINOX_EVENT_ABORT";
  }
  </code></pre>
  
  <p>Then I can call it in the same way.</p>
  
  <p>Whats the difference when calling attribute from interface vs static class ?</p>