Changes
From Forge Community Wiki
706 bytes added
, 00:33, 4 January 2021
Line 1: |
Line 1: |
− | That guy who's somehow still relevant.
| + | 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. |