Solution: In the function to call this object, at this time you want to have the constructor initialization parameters, but will report an error case, in the class to which the object belongs to define a method, function and parameters of the constructor initialization, and then use the object to call this method, achieve the same purpose!
Note: In solving this problem, it is found that the same error occurs when a variable is passed into the function, but the “()” symbol is added to the variable, which causes the same error.