+ 1
We read about using dollar sign in class name, but that dosen't work! Why? (Read the description)
class Programmer -> works class $Programmer -> dosen't work class Programmer$Vibhu -> works class $ -> dosen't work Remember: This is not a syntax error. This is neither a Logical error, nor runtime error! Try it yourself! So, Is it a bug?
1 Respuesta
0
new languages come from older languages and sepcial characters at the beginning of a variable name can mean something else. Tradition and ascii vs unicode. every character is important.