The second and subsequent words of multi-word identifiers are also capitalized, but not separated by underscores. Constants are given names to indicate their use and meaning. These names will be all upper case letters. Indenting The indentation of your program code provides a strong visual indication of the structure of your methods. This greatly aids in understanding the code.
Consistency is the most important characteristic of indenting style.
It is recommended that you use an indent no smaller than 2 and no larger than 8 spaces. Tabs must not be used to indent since different editors treat tabs in diferent ways. The enclosed statements should be indented one more level than the lines containing the opening and closing braces. Braces are used around all statements, even single statements, when they are part of a control structure, such as a if-else or for statement. This makes it easier to add statements without accidentally introducing bugs due to forgetting to add braces.