Initial commit
Initial commit
Changed the class to an interface.
Also specified the required methods.
Initial commit
Added makeSound() method.
Changed this back to an abstract class.
I decided that the basics of each of the methods (call, makeSound and
reproduce) would be repeated in each class that extends/implements Animal,
so better to have Animal as an abstract class.
Corrected remaining methods and the javadoc.
Implemented reproduce() method via layEggs().
I made the latter a private method inside this class.
Added screen output to call() method.
If necessary, the particular animal will override this method.
Initial commit.