aiaiDBA

加微信获取免费职业规划+学习资料,了解年薪50万的DBA是如何练成的

13718043309

010-86462881

PLS-00586: a static method cannot declare a parameter named SELF

PLS-00586: a static method cannot declare a parameter named SELF
Cause: An attempt was made to name a parameter SELF when declaring a static method. SELF is reserved as a parameter name in methods, to hold the object instance on which the method is applied. A parameter named SELF is not allowed in static methods because static methods do not apply to a particular object instance.
Action: Change the name of the parameter in the declaration.

请先 登录 后评论

1 个回答

小智
PLS-00586:静态方法不能声明一个名为SELF的参数,
.原因:在声明静态方法时尝试命名参数SELF。SELF作为方法中的参数名保留,用于保存应用该方法的对象实例。在静态方法中不允许使用名为SELF的参数,因为静态方法不适用于特定的对象实例。,
.操作:更改声明中参数的名称。,
.
请先 登录 后评论