Java - non static member variable of an interface
<p>I know that it is not recommended, but why can I declare a member variable of an interface not static? </p>

<p>And what is the difference between a static and a not static member of an interface? I see that if I define an interface member variable as static, I can use it in the implementing class in a not-static way:</p>

<p>Interface:</p>

<pre><code>public interface Pinuz {
    final static int a;

    public void method1();
}
</code></pre>

<p>Implementing class:</p>

<pre><code>public class Test implements Pinuz {
    public static void main(String[] args) {

        Test t = new Test();
        int b = t.a;
    }

    @Override
    public void method1() {
        // TODO Auto-generated method stub

    }
}
</code></pre>

<p>I see only a warning asking me to use the member a in a static way.</p>