I have a confusion in below piece of code :
On line no 4. "duplicate local variables" compilation error comes.
please help me understand why?
Because as per my knowledge, the ouch variable in for loop has it's scope limited to for loop. can it not supersede the method parameter
ouch
here? The way method parameters will supersede member variables?
Thanks.
Dish