Can you state some of the famous java identifiers? - ProProfs Discuss
Advertisement

Can you state some of the famous java identifiers?

Can you state some of the famous java identifiers?<br/>

Change Image    Delete

Asked by Tumelo, Last updated: Apr 14, 2024

+ Answer
Request
Question menu
Vote up Vote down

10 Answers

L. Cooper

L. Cooper

Analyst by profession but writer by heart.

L. Cooper
L. Cooper, Data Analyst, MCA, Newcastle

Answered Oct 26, 2020

The Java identifiers are numerous; some are well known and used by people than others. Identifiers are symbolic names such as class name, variable name, constant name, method name, packaging name, an array name. Space is not included in identifiers.

The Java identifiers are numerous; some are well known and used by people than others. Identifiers
Example of the most accepted java identifier is _HelloWorld, Public, A$B, score, level, number1, love, and so on. Identifiers can only be valid if they are all alphanumeric characters or letters. However, it can have the sequence of letters and digits. Java identifiers cannot start with numbers. Symbols such as @, # cannot be used. True, false, and null cannot be used because they are literals. The java identifiers are case sensitive. There is no limit on the length of the identifiers.

upvote downvote
Reply 

J. Rogers

J. Rogers

Who deals with teeth problems and fix them

J. Rogers
J. Rogers, Rosshazlewood, MA, Birmingham

Answered Sep 30, 2020

There are different Java identifiers that are available. Some are more popular than others probably because people would like to use them more. Take note first that an identifier can be a class name, a package name, a method name, and so much more.

An identifier is normally user−defined. Identifiers would have the following elements: variables, classes, packages, interfaces, methods, and packages. Some of the popular ones are the HelloWorld program, Hello World, main, args, and println.

There are still a lot more identifiers that will be available. You would get to discover more when you use Java more often. Just take note that an identifier will not have the same name as one of the reserved words.

upvote downvote
Reply 

G. GRAY

G. GRAY

Just getting better day by day

G. GRAY
G. GRAY, Writer, M.A, Liverpool

Answered Sep 23, 2020

Identifiers are symbolic names utilized for recognition. Identifiers in the Java program can be a class name, variable name, constant name, array name, methods name, and packaging name. Some examples of Java identifiers include MyVariable, x, I, my_variable, _ my variable, $myvariable, dataflair/23.

Identifiers do not contain a space, do not begin with numbers, plus sign is not an alphanumeric character. A valid identifier has characters or numbers and an underscore.

You cannot declare a variable with space. You cannot start an identifier with a number. 4-15 letters only are suitable to apply. It is not advised to use reserved words as an identifier, and reverse words can also be identifiers.

upvote downvote
Reply 

C. Lucan

C. Lucan

I'm a freelance Copywriter and well that explains everything!

C. Lucan
C. Lucan, Copywriter, Literature Major, Baton Rouge, Louisiana

Answered Sep 18, 2020

There are different java identifiers that are available right now. Some are more popular than others.

Out of the available Java identifiers right now, those that are valid are the following:

• A$B

• _Hello World

• Public

There are various reasons why these are acceptable. The first one is used because of the $ sign. The second one is normally used because it starts with an underscore.

Finally, the last one is valid because it starts with a letter. Java identifiers cannot start with numbers.

upvote downvote
Reply 

Malcolm Carneal

Malcolm Carneal

Get immense pleasure in traveling and writing about visiting places.

Malcolm Carneal
Malcolm Carneal, Digital Nomad, MCA, Vienna

Answered Mar 26, 2020

A$B, HelloWorld, Public, Private, etc. all these are some of the java identifiers.

upvote downvote
Reply 

K. Myers

K. Myers

K. Myers
K. Myers, Blogger, Chicago

Answered Mar 18, 2020

There are three different answers that you can choose from out of all the available choices. The first one is letter A because of the available dollar sign ($). The dollar sign is known to be one of the currencies that can be used in Java. Another answer that you can choose is lettered B. Letter F also has an underscore like letter B, but the main difference between the two is that letter B starts out with an underscore, unlike letter F wherein the underscore can be found in between two words. Another answer is letter E simply because the word starts out with an actual letter, which can also make it effective in Java.
upvote downvote
Reply 

E. James

E. James

E. James
E. James

Answered Mar 12, 2020

There are three options that are available for you. The first answer is A, mainly because it has a dollar sign. This is known to be a Unicode of currency that can be used properly for Java. The first answer is B simply because it starts out with an underscore, which is needed when you would like to use Java.

E is the other option that you are looking for simply because this starts with a letter. The other options are not valid because one of them would start with a number. Option D cannot be considered too because it comes with a period, and it should not start with this. Option C is also not possible because it has started with a period.

upvote downvote
Reply 

Carice Snow

Carice Snow

I am a well trend Motivational speaker at California.

Carice Snow
Carice Snow, Motivator, MA, California

Answered Mar 07, 2019

Correct answers – options A, B and E
In Java, an identifier is anything used for the name to declare an entity. All identifiers must begin with a letter, an underscore or a Unicode of currency. Any other symbol such as numbers and a period (.) is not valid. Also, an identifier cannot have the same spelling as a Java reserved words.

Option A is correct because it has a dollar sign (Unicode of currency)

Option B is correct because it begins with an underscore

Option C is incorrect because it begins with a period (.) which is invalid and the word “true” is a java reserved word.

Option D is incorrect because it begins with a period

Option E is correct because it begins with a letter

Option F is incorrect because it begins with a number. Numbers are invalid.

upvote downvote
Reply 

John Adney

John Adney

John Adney
John Adney

Answered Jun 10, 2017

A. because of the dollar sign
B. because of the underscore in identifiers
E. because Java is case sensitive

upvote downvote
Reply 

John Smith

John Smith

John Smith
John Smith

Answered Oct 22, 2016

A$B
2. _helloWorld
3. Public

A, B, E. Option A is valid because you can use the dollar sign in identifiers. Option B is valid because you can use an underscore in identifiers. Option C is not a valid identifier because true is a Java reserved word. Option D is not valid because the dot (.) is not allowed in identifiers. Option E is valid because Java is case sensitive, so Public is not a reserved word and therefore a valid identifier. Option F is not valid because the first character is not a letter, $, or _.
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.