+ 1

What is identifier in java?

The name used in a java is called an identifier or label name https://code.sololearn.com/WNz28mdxLDp3/?ref=app

14th Jun 2019, 7:29 PM
NITIN VERMA
NITIN VERMA - avatar
1 Odpowiedź
+ 8
Identifiers are the names of variables, methods, classes, packages and interfaces. Unlike literals they are not the things themselves, just ways of referring to them. In the HelloWorld program, HelloWorld, String, args, main and println are identifiers. Identifiers must be composed of letters, numbers, the underscore _ and the dollar sign $. Identifiers may only begin with a letter, the underscore or a dollar sign.
14th Jun 2019, 8:58 PM
A͢J
A͢J - avatar