Guest User

Untitled

a guest
Oct 23rd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. class Cuidador extends Persona
  2. {
  3.  
  4. public Cuidador(){
  5. Animal a = new Animal() {
  6.  
  7.  
  8.  
  9. @Override
  10. public void serAlimentado() {
  11. throw new UnsupportedOperationException("Not supported yet.");
  12. }
  13.  
  14. @Override
  15. public void recibirCuidado() {
  16. throw new UnsupportedOperationException("Not supported yet.");
  17. }
  18.  
  19. @Override
  20. public void grunir() {
  21. throw new UnsupportedOperationException("Not supported yet.");
  22. }
  23. };
  24. a.serAlimentado();
  25.  
  26. }
  27.  
  28.  
  29.  
  30.  
  31. }
Add Comment
Please, Sign In to add comment