123456789101112131415161718192021 |
-
- /**
- * Write a description of class Fish here.
- *
- * @author (your name)
- * @version (a version number or a date)
- */
- public class Fish extends Pet
- {
- public Fish(String name){
-
- super(name);
- super.setType("Fish");
- }
-
- public String speak(){
-
- return "blublublu";
- }
- }
|