it is referring to the integer being passed into the method, If you want to refer to the queue then you need to add the keyword "this"


for (int i = 0; i < this.kassas.length; i++)
{...