This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes $ in identifiers?!? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "$ in identifiers?!?" Watch "$ in identifiers?!?" New topic
Author

$ in identifiers?!?

Leandro Oliveira
Ranch Hand

Joined: Nov 07, 2002
Posts: 298
is there any problem with using $ in identifiers??? I know jls states that _ and $ can be used but somebody (not here, in the forum) said it is problematic!! is it true???
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

shouldn't be....
this code works fine and dandy:

*Note the characters when printed out might not be displayed correctly in the command window -- this isn't a problem of the program, but of the command window.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: $ in identifiers?!?
 
Similar Threads
Assignment 1.1 spacing
what is the max character length for identifiers?
need help with applet ActionListener
org.hibernate.QueryException: could not resolve property: ObjectId of: test.Objtablee
Legal and Illegal Identifiers