What are java identifiers

Every name in java is called identifier such as, Class-name Method-name Variable-name Rules to declare identifier: An identifier contains group of Uppercase & lower case characters, numbers ,underscore & dollar sign characters but not start with number. int abc=10;      —> valid                          int _abc=30;  —> valid              int $abc=40;  —>valid int a-bc=50;    —>not valid                   int 2abc=20;  —> Invalid          Continue reading “What are java identifiers”

Design a site like this with WordPress.com
Get started