You can use the constructor of subclasses on java it is a feature of polymorphism. You can't call methods from subclasses in that instance unless that method is overwritten in that subclass.