Special symbol permitted with in the identifier name | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Special symbol permitted with in the identifier name

19th Jun 2017, 4:11 AM
Santosh Kumar
Santosh Kumar - avatar
2 Answers
+ 7
No? Special symbols are not allowed in variable identifiers. Underscores are allowed tho '_'
19th Jun 2017, 4:31 AM
Hatsy Rei
Hatsy Rei - avatar
+ 8
Identifiers can start with underscore or alphabet and contain underscores or alphabet or digits. NO special symbols are allowed.
19th Jun 2017, 5:25 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar