answersLogoWhite

0


Best Answer

Identifiers are the strings you use in Java source code to identify unique things, such as variables, classes, and methods. Identifiers may be any word beginning with a letter or underscore, and continuing with letters, numbers, and underscores. Identifiers are case sensitive.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago
  • Java identifiers must begin with a letter, underscore (_), or dollar sign($)
  • After the first character, Java identifiers may contain a letter, number, underscore, or dollar sign.
This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Identifiers in Java are variables in which data is stored during program execution.

rules:-

they must be the name of a KEYWORD: such as "class" cannot be used as a variable in java

they must consist of only alphabets and numbers: such as "d%5" is not an identifier in java

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

An "identifier" in Java is simply the name of something. A class name, method name, or variable name are all identifiers.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain the term identifier in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Explain the role of sizeof operator in java?

There is no sizeOf() operator in Java.


General syntax in creating a method?

A Java method declaration will look like this:[access modifier] [static] [final] [synchronized] [return type] [method name]([parameters])Where:access modifier is exactly one of the followingpublicprotected(no text)privatestatic, final, and synchronized are all optional.return type is exactly one of the followingvoidThe name of a Java primitiveThe name of a Java classmethod name is a valid Java identifier which must conform to all of the following rulesStarts with a lowercase letter (a-z), an uppercase letter (A-Z), a dollar sign ($), or an underscore (_)After the first character, may be a digit(0-9), a lowercase letter (a-z), an uppercase letter (A-Z), a dollar sign ($), or an underscore (_)May not be one of the Java keywordsMay not be one of the Java literals: true, false, or nullparameters is a comma-separated list of [type] [identifier] pairs, where:type is a valid Java primitive or class nameidentifier is a Java identifier, which conforms to the same rules as method name


Explain how objects are created in Java?

with new operator


Why factorial is not a valid identifier in Java?

It's been a little while since I've learned Java, but the exclamation point used to denote factorials (!) is already used in Java to denote a negation (e.g. a != 2 means a is not equal to 2). To create a factorial in Java, construct a for loop and multiply all the consecutive integers.


Explain why Java programs running on Android systems do not use the standard Java API and virtual machine?

123

Related questions

Explain the role of sizeof operator in java?

There is no sizeOf() operator in Java.


What does the term Java logging mean?

Java logging is data logging for the Java platform. Logging is a term in software for recording activity. Therefore Java logging is recording activity for Java.


What is another term for unique identifier?

primary key


What is simple and composite attribute?

the term composite identifier


What is the similarity between an identifier and a variable?

Answer:- identifier is the name like a, b, c, .... which is used to reference a memory location in a program. +-variable is the actual memory location which can hold values.so 'a' is an identifier to a variable which is memory location located somewhere in memory.Answer:A Variable in Java is something that holds a particular value in a class. For example:public class A { private String name = ""; ......} In the above declaration name is a variable. It would hold the data of type String.An Identifier is nothing but the name that we give for our variables, classes, methods etc. It is nothing but the name with which we identify an entity in Java. For example here A is the identifier for the class, name is the identifier for the variable etc.


What is a simple java code and explain what the code does?

int a;This simple Java statement declares an integer.


General syntax in creating a method?

A Java method declaration will look like this:[access modifier] [static] [final] [synchronized] [return type] [method name]([parameters])Where:access modifier is exactly one of the followingpublicprotected(no text)privatestatic, final, and synchronized are all optional.return type is exactly one of the followingvoidThe name of a Java primitiveThe name of a Java classmethod name is a valid Java identifier which must conform to all of the following rulesStarts with a lowercase letter (a-z), an uppercase letter (A-Z), a dollar sign ($), or an underscore (_)After the first character, may be a digit(0-9), a lowercase letter (a-z), an uppercase letter (A-Z), a dollar sign ($), or an underscore (_)May not be one of the Java keywordsMay not be one of the Java literals: true, false, or nullparameters is a comma-separated list of [type] [identifier] pairs, where:type is a valid Java primitive or class nameidentifier is a Java identifier, which conforms to the same rules as method name


Explain how objects are created in Java?

with new operator


Why factorial is not a valid identifier in Java?

It's been a little while since I've learned Java, but the exclamation point used to denote factorials (!) is already used in Java to denote a negation (e.g. a != 2 means a is not equal to 2). To create a factorial in Java, construct a for loop and multiply all the consecutive integers.


Explain why Java programs running on Android systems do not use the standard Java API and virtual machine?

123


Why keywords in java important?

In the Java programming language, a keyword is one of 53 reserved words that have a predefined meaning in the language; because of this, programmers cannot use keywords as names for variables, methods, classes, or as any other identifier.


How an exception subclass is created in java explain?

We can create a exception sub class by extending Exception class available in java