Thursday 20 October 2016

interface naming standards

interface naming standards 

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