Why # is not allowed in an identifier?

Posted by Ajinkya Kulkarni on Stack Overflow See other posts from Stack Overflow or by Ajinkya Kulkarni
Published on 2010-05-18T04:29:42Z Indexed on 2010/05/18 4:40 UTC
Read the original article Hit count: 369

Filed under:
|

Java allows identifier to start with or contain $ (dollar sign). e.g int a$b;

But why # is not allowed in an identifier? What is the specific reason? Is # an operator or something in Java? e.g int a#b;

© Stack Overflow or respective owner

Related posts about java

Related posts about identifier