@@ -0,0 +1,582 @@
+%0Apublic class Chicken%7B%0A%0A%09private String name;%0A%09private String color;%0A%09private int age;%0A%09%0A%09%0A%09%09public void layAnEgg()%7B%0A%09%09%09System.out.println(%22The chicken lay an egg.%22); %0A%09%09%7D%0A%09%09public void poop()%7B%0A%09%09%09System.out.println(%22The chicken pooped.%22); %0A%09%09%7D%0A%09%09public void drink()%7B%0A%09%09%09System.out.println(%22The chicken drank.%22); %0A%09%09%7D%0A%09%09public void print()%7B%09%0A%09%09%09System.out.println(%22The name of the chicken is: %22 + name + %22color: %22 + color + %22age: %22+ age+ %22%22); %0A%09%09%7D%0A%09%09%0A%09public void initializeData(String name, String color, int age)%7B%0A%09%09this.name=name;%0A%09%09this.color=color;%0A%09%09this.age=age;%0A%09%09%0A%09%7D%0A%09%09%0A%7D%0A%0A

Version 1