Naming conventions
1- Package naming convention
It should be named based on the field’s name of the company and all characters should be lowercase.
Eg: www.google.test
2- Class naming convention
The first character of every word in class name should be capitalized.
Eg: FirstName
Person
ExtremeSports
3- Method naming convention
The first character of first word in method name should be lowercase.
The first character of other words in method name should be uppercase.
Eg: addNumber
findOddNumber
bungeeJrumping
4- Properties naming convention
Properties are the same with method naing convention
Eg: ageOfPerson
5- Variable naming convention
If it’s one word in variable name, it should start with lowercase.
Eg: number
name
If there are several words, the first character of the first word should be lowercase, others should be capitalized.
Avoid using one character such as x, y, z.
6- Constant naming convention
Every character in the constant name should be uppercase.
Eg: NUMBER
LENGTH
AGE