"KEEP LEARNING, DON'T STOP."
"KEEP LEARNING, DON'T STOP."
Identifier is nothing but a name. In java language variable name is acting as a identifier. In java any name can be represented as a identifier, that name can be used to identify the particular things.
variables name, methods name, class name, array name interface name etc.
Every programming language have their own identifier rules. Java language also follow some rules.
int a; int abc; int _xyz; int btn123; int dfg_123; int $xyz; int x$yz; int numberseries; int large_number_series;
int 123; int 12abc; int xyz@; int num-value; int book name;
int num = 10; int Num = 20; int NUM = 30;
In above example you will see different-different variables and all variables have same name. They are different in just case sensitive way. So the output will be different.
//output of the above example.. 10 20 30