Advertisement
Guest User

Untitled

a guest
Oct 18th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. public static void main(String[] args) {
  2.  
  3.  
  4. Creature creature = new Creature(10,10,true);
  5.  
  6. HomeCat homeCat = new HomeCat(25,60,true);
  7.  
  8.  
  9. System.out.println(creature.isHomeCat);
  10.  
  11. System.out.println(homeCat.isHomeCat);
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement