当前位置:网站首页>标识符的命名规则和规范
标识符的命名规则和规范
2022-06-28 09:25:00 【自律的西瓜L】
标识符是用户编程时自定义的名称, 比如类的名字、方法的名字和变量的名字等等,都是标识符。
标识符的命名规则和规范
1.标识符可以包含英文字母26个(区分大小写)、0-9数字、$(美元符号)和_(下划线)等。
2.标识符不能以数字开头。
3.标识符不能是关键字。
4.标识符严格区分大小写。
边栏推荐
- Machine virtuelle 14 installer win7 (tutoriel)
- 自动转换之-面试题
- Regular verification of mobile phone number and email [easy to understand]
- Screen settings in the source code of OBS Live Room
- Threads and processes
- 1182: group photo effect
- new URL(“www.jjj.com“)
- JVM系列(2)——垃圾回收
- 满电出发加速品牌焕新,长安电动电气化产品吹响“集结号”
- Inventory of excellent note taking software: good-looking and powerful visual note taking software, knowledge map tools heptabase, hydrogen map, walling, reflect, infranodus, tiddlywiki
猜你喜欢
随机推荐
2020-10-27
PMP考试重点总结九——收尾
Implementation of single sign on
两道面试小Demo
Music website design based on harmonyos (portal page)
Automatic conversion - interview questions
Do static code blocks always execute first? The pattern is smaller!!!
PMP Exam key summary VI - chart arrangement
Android studio interview preparation
Write a simple timeline
玩玩sftp上传文件
PMP考试重点总结七——监控过程组(1)
P2394 yyy loves Chemistry I
Illustration of MySQL binlog, redo log and undo log
When the interviewer asks you to write binarysort in two ways
Ingersoll Rand面板维修IR英格索兰微电脑控制器维修XE-145M
A classic JVM class loaded interview question class singleton{static singleton instance = new singleton(); private singleton() {}
Valentine's Day - VBS learning (sentences, love words)
abnormal
What is online account opening? Is it safe to open an account online now?








