Question: in Java code in a Java file please Question 3: Class and Objects (10 points) Lecture slides show an example of Animal class as Parent

in Java code
in a Java file please
Question 3: Class and Objects (10 points) Lecture slides show an example of Animal class as Parent and Dog and Elephant classes as its children. Create another child class called "Fish" for the parent class "Animal". The Java program should have both the parent class and all the child classes. Create two objects-one using default constructor and another using overloaded constructor for each of the child classes. Display the contents of all the objects
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
