aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Legal Identifiers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Legal Identifiers" Watch "Legal Identifiers" New topic
Author

Legal Identifiers

Javier Sanchez Cerrillo
Ranch Hand

Joined: Aug 02, 2006
Posts: 152
It is said: "Identifiers must start with a letter, the currency digit and conecting characters such as _ Underscore"

What other conecting characters apart from "_" can be used in identifiers?
[ August 30, 2006: Message edited by: Javier Sanchez Cerrillo ]

SCJP 5.0 95%<br /> <br />The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

I can't see any other

Java Spec says:
The Java letters include uppercase and lowercase ASCII Latin letters A-Z (\u0041-\u005a), and a-z (\u0061-\u007a), and, for historical reasons, the ASCII underscore (_, or \u005f) and dollar sign ($, or \u0024). The $ character should be used only in mechanically generated source code or, rarely, to access preexisting names on legacy systems.


[My Blog]
All roads lead to JavaRanch
 
Consider Paul's rocket mass heater.
 
subject: Legal Identifiers