This content has been marked as final. Show 3 replies
975235 wrote:Because the code you are using has a strange naming convention?
his_$account_tota , b$....... can u give explanation for this variable..what is the use $ symbol?Why we are using $ symbol in java variable.....
i need clear and simple explanation with example... :P
No real reason, you can do it if you want. But you don't have to - I certainly don't and I rarely see code that does it.
You should take some time to figure out how to find information. For example, I simply typed "java variable dollar" into google and ended up with this as the first hit:
"Additionally, the dollar sign character, by convention, is never used at all."