if I have an abstract class named Dog with a constructor to set its weight (double) and a class named SpecialDog which extends Dog and has a constructor that accepts a double and passes it to Dog using super().
What (if any) are the differences between:
Dog dog = new SpecialDog(12.0);
SpecialDog dog = new SpecialDog(12.0);
Dog dog = new Dog(12.0);
SpecialDog dog = new Dog(12.0);
Thanks!