Guys do we inherit from Object like from any other class (except of course that we don’t have to explicitly state that) or there is some special privileges to Object class and it’s not inherited as other classes?
Share
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.
No it’s the same. Here the excerpt from JLS 8.1.3:
Of course,
Objectitself is a bit special (JLS):