By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,554 Members | 1,146 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,554 IT Pros & Developers. It's quick & easy.

$ symbole in java

sanjay123456
100+
P: 125
Sir ,

why java accept $ symbole in the variable declaration ?

sanjay
Nov 12 '06 #1
Share this Question
Share on Google+
2 Replies


10K+
P: 13,264
Sir ,

why java accept $ symbole in the variable declaration ?

sanjay
There is no reason why $ should not be accepted. It may also help in grouping certain types of declarations for machine manipulation
Nov 13 '06 #2

P: 25
$ symbol should be avoided as it is present in the bytecode for some internal manipulations (this might confuse the jvm)
Nov 14 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.