That's because you declared
as accepting a parameter that is an array of
public static void ze(zen1 s)
And you are trying to pass a single
instance to the method:
Change the method definition to accept a single instance, or call the method outside the loop and pass the whole array:
You do not want to pass the whole array inside the loop because you do not have all elements containing actual instances until the loop is complete.