Does Java Language Specification lay down the rules of method overriding in sub classes?

StackOverflow https://stackoverflow.com/questions/7462160

  •  22-01-2021
  •  | 
  •  

سؤال

Does Java Language Specification lay down the rules of method overriding in sub classes?

Can't seem to find this in the JLS.

هل كانت مفيدة؟

المحلول

Yes, it absolutely does. It's described in section 8.4.8.

If there's one specific aspect you're trying to find and having problems with, please be more specific in your question - "the rules of method overriding" are pretty broad.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top