But it compileExplanation
1. i = (int) k.shortValue(); --> You can use *= here but then you can't complete the 4th line.
2. str += b; --> You can't use =, or *= here. Only += is valid.
3. b = !b; --> You can't use anything other than = here.
4. c *= i; --> You can only use *= or +=. = is not valid. Further, if you use += here, you can't complete line 2.
1. i *= (int) k.shortValue();
4. c *= i;