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 void setWeight(int somevalue) {
		weight = somevalue;
	}

	public int getWeight() {
		return weight;
	}

        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);
        }
}


