/** * Write a description of class Fish here. * * @author (your name) * @version (a version number or a date) */ public class Fish extends Pet { // instance variables - replace the example below with your own String type = "fish"; /** * Constructor for objects of class Fish */ public Fish(String name) { super.Pet(name); } public Fish () { } public String speak(){ return "Fish say GLUB GLUB"; } public String getType(){ return this.type; } }