java method coding standards parameters code example
Example 1: explain 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
Example 2: java coding standards for interfaces
1) Interface should start with uppercase letters
2) Interfaces names should be adjectives
Example : Runnable, Serializable, Marker, Cloneable