Does Java Language Specification lay down the rules of method overriding in sub classes?
Can’t seem to find this in the JLS.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.