1Identifiers are names in java program. Identifiers can be class name,
2method name or variable name.
3
4 Rules for defining identifiers in java:
51) Identifiers must start with letter, Underscore or dollar($) sign.
62) Identifiers can’t start with numbers .
73) There is no limit on number of characters in identifier but not
8recommended to have more than 15
9characters
104) Java identifiers are case sensitive.
115) First letter can be alphabet ,or underscore and dollar sign.
12From second letter we can have numbers
136) We should’nt use reserve words for identifiers in java.
1Identifiers in Java are symbolic names used for identification. They can be a class name, variable name, method name, package name, constant name, and more. However, In Java, There are some reserved words that can not be used as an identifier