In java, if the primitive data type as a function parameters, it will act as the type "by value"; otherwise, if the object as a function parameters, it will act as the type "by reference". Because the parameter "bumpMe" is a primitive data type, but not the parameter "value".
Because the parameter "bumpMe" is a primitive data type, but not the parameter "value".
参数是按引用传递,会改变原始变量