Advertisement
Crenox

Animals Java Program

Nov 26th, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. // Sammy Samkough
  2.  
  3. public class Animals
  4. {
  5. public Animals()
  6. {
  7.  
  8. }
  9.  
  10. public static void main (String args[])
  11. {
  12.  
  13. }
  14. }
  15. -------------------------------------------------------------------------------------------------------------------------------
  16. // Sammy Samkough
  17.  
  18. public class Dog
  19. {
  20. public Dog()
  21. {
  22.  
  23. }
  24.  
  25. public void bark()
  26. {
  27. System.out.println("Woof woof!");
  28. }
  29.  
  30. public void lick()
  31. {
  32.  
  33. }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement