Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Java Programming/Keywords/class

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

is a Java keyword which begins the declaration and definition of a class. The general syntax of a class declaration, using , is class-declaration ::= [] [extends-clause] [implements-clause] class-body extends-clause ::= class-name implements-clause ::= interface-names interface-names ::= interface-name [, interface-names] class-body ::= { [member-declarations] } member-declarations = member-declaration [member-declarations] member-declaration = field-declaration | initializer | constructor | method-declaration | class-declaration The word is optional. If omitted, the class extends the class, as all Java classes inherit from it. See also: Java Programming/Keywords/new deep