An interface variable is final and can never be given a value by the implementing class. : interface « Object Oriented « SCJP






interface MyInterface{
    public final static int i=0;

}








6.12.interface
6.12.1.Interface
6.12.2.An interface variable is final and can never be given a value by the implementing class.