Consider the following classes.
public class Dog
{
/* code */
}
public class Dachshund extends Dog
{
/* code */
}
Assuming that each class has a default constructor, which of the following are valid declarations?
I. Dog sadie = new Dachshund();
II. Dachshund aldo = new Dachshund();
III. Dachshund doug = new Dog();
Group of answer choices
I only
II only
III only
I and II only
II and III only