title: How to @Override an Attribute declared in an Interface implemented in a class
body: <p>Interface:</p>
  
  <pre><code>package II_1_b;
  
  
  
  public interface Bezeichnung {
  
  public String Bezeichnungi = "Hallo";
  public abstract void setBezeichnung();
  }
  </code></pre>
  
  <p>class:</p>
  
  <pre><code>package II_1_b;
  
  public class Speerwurf extends SportDaten implements Bezeichnung {
  
  private double weite;
  
   @Override
     public void setBezeichnung(){    //Here we want to Override the String in 
       Bezeichnungi = "Test";         //the Interface
  }
  
  
  
  public Speerwurf(String n, double w, String bez) {
      super(n);
      this.weite = w;
      bez = Bezeichnungi;
  }
  
  @Override
  public void display() {
      System.out.println("Speerwurf von " + this.SportlerName + ":\n"
              + weite + " Meter " + Bezeichnungi);
   }
  
  }
  </code></pre>
  
  <p>You can see our Code here, I commented the problem area and hope you can help us. Stackoverflow tells me to add more details, so I'm gonna describe what I'm going to have for lunch: I think I will make myself a TK-Pizza, maybe 2. I'm often very hungry.</p>