Yes, @linkev , you are right. Either of these statements would create an instance of the Dog class, and assign it to the variable, spot:
Animal spot = new Dog();
Dog spot = new Dog();
In both cases, the variable, spot, refers to an instance of Dog, as you could prove by calling a method of the Dog class from that variable. For example, if the Animal class and the Dog class each have their own eat method that takes a String as an argument, then the eat method of the Dog class, rather than that of the Animal class, would execute in the following code …
yes it is polymoporphism, but it does not change a fact that you do not accept a correct answer. The question is badly formed and two answers should be accepted. otherwise you just prove of lack of knowledge in codeacademy.com fix it.