Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package clase_abstracta;
- public class Pez extends Animal
- {
- public Pez() {
- }
- // ----------------------------
- @Override
- public void mover() {
- System.out.println( this.getNombre() + "Nadando");
- }
- }
Add Comment
Please, Sign In to add comment