... | ... | @@ -89,8 +89,8 @@ Examples of labels: |
|
|
## Code
|
|
|
|
|
|
Example of a function:
|
|
|
|
|
|
`class GenerateRandom {
|
|
|
`coom`
|
|
|
class GenerateRandom {
|
|
|
|
|
|
public int generateRandom(int param1, int param2) {
|
|
|
int min = param1;
|
... | ... | @@ -105,9 +105,9 @@ Example of a function: |
|
|
System.out.println(generateRandom(10, 40));
|
|
|
}
|
|
|
|
|
|
}`
|
|
|
}
|
|
|
|
|
|
- Tabwidth is 4 spaces.
|
|
|
- Tabwidth is 2 spaces.
|
|
|
- Newline before return sequence, unless it is a oneliner.
|
|
|
- Space between arithmetic operators and parameters.
|
|
|
- Space to the write of commas before more parameters.
|
... | ... | |