Java View all facts Glossary Help |
syntactic unit |
syntactic unit comparison table |
Subject | have part | have syntax | terminate by | be | be about | cause | write at | is a synonym of | is a subtopic of | have example | occur | describe | have purpose | perform | have type | precede | have access modifier | be part of | have access mode | has definition | return | write | write before | have value |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
access unit | Access Control | A syntactic unit to which access can be controlled with an access modifier | ||||||||||||||||||||||
clause | ||||||||||||||||||||||||
comment | /** commentText */Note: '//' ignores everything to end of line | between about 20% and 35% of the total length of the code | obvious things since they add clutter | the top of each class | Java Basics | executeMeToo(); /* This is to be ignored | the purpose of the class, how it should be used, its authors and its history of modification | to describe the purpose of each class, method and variable along with any difficult-to-understand statements inside methods, and to indicated any changes to the code | package statements | to describe loops and conditional statements inside complex algorithms | writing the code | |||||||||||||
declaration | Variables and Data Types | definition | A statement that establishes an identifier and associates attributes with it, without necessarily reserving its storage (for data) or providing the implementation (for methods) | |||||||||||||||||||||
definition | declaration | a compiler to set aside memory at compile time | Variables and Data Types | A statement that reserves storage (for data) or provides implementation (for methods). | ||||||||||||||||||||
expression | Statements and Expressions | in a context where a value is required |
| a computation specified by 0 or more operators | that is the type of its result | an expression | A series of variables, operators and method calls (constructed according to the syntax of the language) that evaluates to a single value | a value from its computation | called its result, or its return value | |||||||||||||||
keyword | A word that has special meaning in Java | |||||||||||||||||||||||
method signature | methodName (parameter1Type parameter1 ...) | header | Methods | to indicate the method's name and the number of its parameters and the types of its parameters | The method's name and the number of its parameters and the types of its parameters | |||||||||||||||||||
scoping unit | Scope | A syntactic unit that defines a scope (the region of a source text over which a declaration holds) | ||||||||||||||||||||||
statement | a semicolon | not more than one line long if possible | Statements and Expressions | A syntactic unit that defines a step in the execution of a program | ||||||||||||||||||||
symbol | A character or string of characters that represents or stands for something else |
Next kbTop: terminal input and output Up: kbTop Previous kbTop: synonym