The problem is here:
return "Number " + i + " have the biggest stamina: " + storsUtholdenhet;
i cannot be resolved as a variable.
You can't use int i outside of your for loop.
Type: Posts; User: JavaPF
The problem is here:
return "Number " + i + " have the biggest stamina: " + storsUtholdenhet;
i cannot be resolved as a variable.
You can't use int i outside of your for loop.