Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * < moo >
- * -----------
- * \ ^__^
- * \ (oo)\_______
- * (__)\ )\/\
- * ||----w |
- * || ||
- *
- */
- public class Cow {
- public Cow() {
- System.out.println("Moo!");
- }
- public static String say(String message) {
- String cow = "";
- cow += " < " + message + " >\n ";
- for (int i = 0; i < message.length() + 6; i++) {
- cow += "-";
- }
- cow += "\n";
- cow += " \\ ^__^ \n \\ (oo)\\_______\n (__)\\ )\\/\n ||----w |\n || ||";
- return cow;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement