CodePudding user response:
You can add new method of variable increases, the inner class call, since the decrease in the same wayCodePudding user response:
If it is a temporary variable in a method, can make an object, the variable assignment to that variableCodePudding user response:
1, do not use local variables, using global variables;2, instead of an array, for example: final int [] a={1}; A [0]=a [0] + 1;