standards in java code example
Example 1: java coding standards variables
1) Variable names should start with small letters.
2) Variable names should be nouns
3) Short meaningful names are recommended.
4) If there are multiple words every innerword should start with Uppecase
character.
Ex : string,value,empName,empSalary
Example 2: java coding standards for classes
It is recommended highly to follow java coding standards.
Classnames should start with uppercase letter. Classnames names should be nouns.
If Class name is of multiple words then the first letter of inner word must be
capital letter.
Ex : Employee, EmployeeDetails, ArrayList, TreeSet, HashSet