daily pastebin goal
9%
SHARE
TWEET

Cthulhu

a guest Nov 6th, 2009 150 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  *  < moo >
  3.  * -----------
  4.  *       \   ^__^
  5.  *        \  (oo)\_______
  6.  *           (__)\       )\/\
  7.  *               ||----w |
  8.  *               ||     ||
  9.  *
  10.  */
  11. public class Cow {
  12.  
  13.     public Cow() {
  14.         System.out.println("Moo!");
  15.     }
  16.  
  17.     public static String say(String message) {
  18.  
  19.         String cow = "";
  20.  
  21.         cow += "  < " + message + " >\n ";
  22.         for (int i = 0; i < message.length() + 6; i++) {
  23.             cow += "-";
  24.         }
  25.         cow += "\n";
  26.  
  27.         cow += "  \\   ^__^ \n   \\  (oo)\\_______\n      (__)\\       )\\/\n           ||----w |\n           ||     ||";
  28.  
  29.         return cow;
  30.     }
  31.  
  32. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top