Skip to main content

this,super Keywords and array.length attribute

Please note these forums are being decommissioned and use the new and improved forums at
2 replies [Last post]
Joined: 2012-06-29

Hello Friends,

Can you tell me where the 'this' and 'super' keywords are declared in the
java class libraries and also the array.length attribute?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2012-09-28

keywords are part of the language, not part of the class definitions.

Joined: 2012-06-29

Thanks for your answer.

But i am not yet satisfied with your answer.

Can you please tell me how an object is assigned to the "this" or "super"

And array.length is an attribute , so it might have been declared somewhere.

And lastly, I think java language is madeup of Java package in which all the
other classes reside.So what do you mean by -
"keywords are part of the language, not part of the class definitions."?