This is to complete an abstract method from a sublass. I'd like to know what the technical term is for the words Animal and Dog in this statement. I know animal is the parent class and Dog is the subclass that extends it but is there a more technical term for these in the use of this particular statement?
Animal obj = new Dog();