title: Use a static value in class extends
body: <p>I would like to use a method using a constant according to class she is called.
  Sorry for this bad explanation, here is an example :</p>
  
  <pre><code>public class Mom{
     public void execute(parameters){
        // Some actions
         String nf = String.format(C_CARS)
     }
  }
  
  public class Son1 extends Mom{
     private static final String C_CARS=" myFormat " 
  }
  
  
  public class Son2 extends Mom{
     private static final String C_CARS=" myFormat2 " 
  }
  
  public static void main(String[] args){
     Son1 son1=new Son1();
     Son2 son2=new Son2();
     son1().execute(myparameters);
     son2().execute(myparameters);
  }
  </code></pre>
  
  <p>I would like to do something like that, is there a way ? The problem here is C_CARS is unknown in Mom Class.</p>