title: Should you use the superclass constructor to set variables?
body: <p>I somehow think that doing this is a bad idea. Is it common to do this? I'm unsure of it's usage because I've never seen it in practice, as a real world example anyway.</p>
  
  <pre><code>public abstract class Car{
      protected int speed;
  
      public Car(int speed){
          this.speed = speed;
      }
  }
  
  public class Ambulance extends Car{
      public Ambulance(int speed){
          super(speed);
      }
  }
  </code></pre>