java Identifiers

The names which can be used for classes name, variables and methods name are called identifiers.












 There are some rule which must be followed:
  1.         All identifiers should begin with a letter (A to Z or a to z), dolor sign  ($) or an                underscore (_).
  2.         After the first character identifiers can have any combination of characters.
  3.         A keyword / reserved words cannot be used as an identifier.
  4.         Identifiers are case sensitive, so Name and name are two different identifiers.
  5.       The identifier can’t be start from numeric such as 123…n.

Comments

Popular posts from this blog

Operating System | Best Definition of Opetating System

Umbrella activities in Software Engineering