Where is 'class' declared in Java? -


in package java.lang see,

public final class class<t> extends object implements serializable, genericdeclaration, type, annotatedelement 

where 'class' (the word used after 'public final') defined used declare 'class' (the name of class in above declaration)?

it's java keyword. simple that.

it's not "defined" anywhere....it's part of language itself.

keep in mind answer in response question below asking word class. based on subsequent comments question, you're not interested in java specification's bnf style language formalism, you're asking word:

where 'class' (the word used after 'public final') defined used declare 'class' (the name of class in above declaration)?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -