Java View all facts Glossary Help |
syntactic unit > declaration > class declaration |
class declaration comparison table |
Subject | have syntax | have example | has definition | have purpose | contain | is a subtopic of | is a kind of | |
---|---|---|---|---|---|---|---|---|
declaration | A statement that establishes an identifier and associates attributes with it, without necessarily reserving its storage (for data) or providing the implementation (for methods) | Variables and Data Types | syntactic unit | |||||
class declaration | public abstract final class nameOfClass extends Super implements Interfaces | public class HelloWorld | A declaration that specifies a class and does not include the class body | to specify the class | the class name | Classes | declaration |
|
Next declaration: import statement Up: declaration Previous declaration: array declaration