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
Post a Comment