Advertisement
MrsMcLead

CatTester

Mar 4th, 2014
461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class CatTester{
  4. public static void main(String[] args)
  5. {
  6. Scanner catScanner = new Scanner(System.in);
  7. Cat santaClaws = new Cat();
  8. System.out.println(santaClaws);
  9.  
  10. santaClaws.sleep();
  11. santaClaws.grow();
  12.  
  13. System.out.println(santaClaws);
  14.  
  15. Cat snoops = new Cat("blue",10,"Siamese","green",true);
  16. System.out.println(snoops);
  17.  
  18.  
  19.  
  20.  
  21. }
  22.  
  23.  
  24.  
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement