Guest User

Untitled

a guest
Dec 12th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. package animals;
  2.  
  3. public abstract class Animal {
  4.  
  5. private int bones;
  6. private int age;
  7. private String colour;
  8. private int size;
  9. private int weight;
  10. private String diet;
  11. private boolean hasLegs;
  12. private long cellCount;
  13.  
  14. public abstract void eat();
  15. public abstract void shit();
  16. public abstract void move();
  17. public abstract void reproduce();
  18. }
Add Comment
Please, Sign In to add comment