Computer Science, asked by glorioustigga123, 18 days ago

What is identifiers in java ?​

Answers

Answered by abrar4525
1

Answer:

Identifiers in Java are symbolic names used for identification. They can be a class name, variable name, method name, package name, constant name, and more. ... For every identifier there are some conventions that should be used before declaring them.

Answered by kingofself
1

Answer:

Identifiers are,

Explanation:

Identifiers are names of things, such as variables, constants, and methods, that appear in programs.

Identifiers must obey Java’s rules for identifiers.

Rules for identifiers:

A Java identifier consists of letters, digits, the underscore character (_), and the dollar sign ($) ; no other symbols are permitted to form an identifier.

must begin with a letter, underscore, or the dollar sign.

Java is case sensitive—uppercase and lowercase letters are considered different.

Identifiers can be any length.

Examples:

main, test, Myvariable,sum_of_array etc,..

Similar questions