public class Animal {
        private String type;
        private int weight;
        private String color;

public Animal(String sometype, int someweight, String somecolor)
        {
                type = sometype;
                weight = someweight;
                color = somecolor;
        }
        public int getWeight(){
                return weight;
        }
        public void setWeight(int somenum){
                weight = somenum;
        }
        public void changeColorType (String acolor, String atype)
        {
                color = acolor;
                type = atype;
        }

//	public void motion() {}
        public void display()
        {
        System.out.println("The Type of Animal is: " + type);
        System.out.println("The Weight of Animal is: " + weight);
   System.out.println("The Color of the Animal is: " + color);
        }
}


