Given:
Animal= superclass,
Dog= subclass.
Identify all compilation errors in this code fragment. Provide a compilation error message if you like, but it’s not required.
Animal animal;Dog fido, sparky = new Dog();animal = sparky;fido = new Animal();
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.