1) Variable names should startwith small letters.
2) Variablenames should be nouns
3) Short meaningful namesare recommended.
4) If there are multiple words every innerword should startwith Uppecase
character.
Ex : string,value,empName,empSalary
1) Method names should startwith small letters.
2) Method names are usually verbs
3) Ifmethod contains multiple words, every inner word should startwith
uppercase letter.
Ex : toString()
4) Methodname must be combination of verb and noun
Ex : getCarName(),getCarNumber()
It is recommended highly to follow java coding standards.
Classnames should startwith uppercase letter. Classnames names should be nouns.
IfClassnameisof multiple words then the first letter ofinner word must be
capital letter.
Ex : Employee, EmployeeDetails, ArrayList, TreeSet, HashSet