How to rename method with name existing in super class?

Jacob :

I want to rename my function with notify(), and I get compilation error with:

Method 'notify()' cannot override method 'notify()' in
 'java.lang.Object'; overridden method is final.

Can I do this? If not, why not?

user11044402 :

You can not override Object.notify() which is final.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=310210&siteId=1