Which characters are allowed to use as the second character
of an identifier, and which characters are not allowed?

Answer Posted / ranganathkini

The following are the attributes of the character that is
part of a Java identifier but not as the first character:

* it is a letter
* it is a currency symbol (such as '$')
* it is a connecting punctuation character (such as '_')
* it is a digit
* it is a numeric letter (such as a Roman numeral character)
* it is a combining mark
* it is a non-spacing mark

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are locale settings?

554


Name container classes in java programming?

599


What are untrusted applets?

593


What is the map interface in java programming?

591


Difference between serialization and deserialization in java?

656






What restrictions are placed on method overriding in java programming?

547


What do you understand by looping in java? Explain the different types of loops.

569


What is a control variable example?

534


Is string a data type in java?

594


What is method overloading and method overriding?

538


Can one thread block the other thread?

610


List some features of the abstract class.

597


What is a string what operation can be performed out with the help of a string?

516


What are the benefits of immutable objects?

544


What is overriding in java?

526