Thursday 20 October 2016

class naming standards

class naming standards 

  1. class name should be noun.
  2. If class name contains one word then first letter starts with upper case letter
  3. If class 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 class.
Examples :
Pre-defined class names:
      • String
      • StringBuffer
      • StringBuilder
      • ArrayList
      • LinkedList
User defined class names:
      • Student
      • Person
      • Employee
Thanks for your time.
Nireekshan