The question is if x >=1
then i creates the array
if not then it defaults x to 1.
Zoo has one constructor which takes an int as a parameter and uses it to instantiate the array
animals to that size, and it also sets count to zero. It should make sure the parameter is great
than or equal to 1 before using it to create the array. If invalid simply use size 1 for default.
I have this
public Zoo(int n)
{
if(n.length >= 1)
{
return animals = new int[n] animal;
else
n = 1;
}
count = 0;
}