[Solved] Syntax error with an extend in Java
When you pass a variable to a method it is copied. This means if you set that variable in the method it has no effect on the caller. i.e. it doesn’t initialise the callers copy of the variable. You need to change your code to look like this. shetatch = z1[i].shetach(length); The variable shetatch inside … Read more