Two nested for-loops cannot use
- A
Different names (recommended)
- B
Independent variables
- C
Same conditions
- Dcheck_circle
The same loop variable name (compile error)
Explanation
Java forbids redeclaring a variable in inner scope when the outer is still live.