Identifiers

Identifiers in Java


All Java components require names. Names used for classes, variables, and methods are called identifiers.

  • All identifiers should begin with a letter (A to Z or a to z), currency character ($) or an underscore (_).
  • A key word cannot be used as an identifier.
  • Are case sensitive and have no maximum length

Examples: 

  • identifier 
  • username 
  • user_name 
  • _sys_var1 
  • $change

Java : Identifiers Program List