interface naming standards
- interface name should be noun.
- If interface name contains one word then first letter starts with upper case letter
- If interface name contains more than one word then first letter starts with upper case letter, remaining words also starts with upper case letter.
- Tip : Should not give space between the words while naming to interface.
- We can say interface name follows Camel Case.
Examples :
Pre-defined interface names:
- Cloneable
- Comparable
- Collection
- Set
- List
User defined interface names:
- StudentDao
- StudentService
Nireekshan