<code>Animal[] zoo = {new Dog(), new Cat()};</code> is valid because
- A
Java widens primitive types
- Bcheck_circle
Subclass references can be stored in superclass array
- C
Compile error actually
- D
Arrays accept anything
Explanation
Subtype-of-Animal references fit in Animal[].