Views
Actions
Difference between revisions of "User:ChampionAsh5357"
From Forge Community Wiki
(Created page with "That guy who's somehow still relevant.") |
(Just a simple summary tip.) |
||
| Line 1: | Line 1: | ||
| − | + | Hello, I'm just a person who provides helpful tidbits of information sometimes. | |
| + | |||
| + | Useful Tip of Sometime: | ||
| + | |||
| + | According to $4.12.3 of the Java Language Specification, there are eight types of variables. | ||
| + | |||
| + | * Class Variable | ||
| + | ** A static field, or a field within an interface. | ||
| + | * Instance Variable | ||
| + | ** A non-static field within a class. | ||
| + | * Array Component | ||
| + | ** The values associated within a created array. | ||
| + | * Method Parameter | ||
| + | ** A parameter located within a method declaration. | ||
| + | * Constructor Parameter | ||
| + | ** A parameter located within a constructor declaration. | ||
| + | * Lambda Parameter | ||
| + | ** A parameter declared as part of a lambda expression. | ||
| + | * Exception Parameter | ||
| + | ** A parameter created within a catch clause. | ||
| + | * Local Variables | ||
| + | ** A variable declared within a block. | ||
Latest revision as of 00:33, 4 January 2021
Hello, I'm just a person who provides helpful tidbits of information sometimes.
Useful Tip of Sometime:
According to $4.12.3 of the Java Language Specification, there are eight types of variables.
- Class Variable
- A static field, or a field within an interface.
- Instance Variable
- A non-static field within a class.
- Array Component
- The values associated within a created array.
- Method Parameter
- A parameter located within a method declaration.
- Constructor Parameter
- A parameter located within a constructor declaration.
- Lambda Parameter
- A parameter declared as part of a lambda expression.
- Exception Parameter
- A parameter created within a catch clause.
- Local Variables
- A variable declared within a block.