Java has certain naming conventions which should be followed to make code readable for others.

- Package name is always written in all-lowercase.
- Class name begins with upper case letter.
- Interfaces begins with upper case letter.
- Variable name/Method name begins with lowercase letter and the first letter of each internal word should be capitalized.
- Constants are in upper case.
Java Code:
package test;
public class Test {

	public static final int FACTOR = 10;

	public static void testMethod()
	{
		
	}
}