INFO1003_Foundamental of IT_2012 Semester 2_Lecture5.2_Javas(6)

2021-01-07 10:05

University of Sydney_INFO1003_Foundamental of IT_2012 Semester 2

26/08/2012

Rules for Variable Names Variable names are case sensitivei e var abc is different from var ABC i.e.

They must begin with a letter or the underscore character Spaces are not allowed inside variable names You Y cannot t used d a reserved d word df for a variable i bl name, i.e. alert

11

Rules for Variable Names Exercise, which of the following are not valid variable names: 1. var krazy 2. var$tupid 3. var illegal_var 4. var _another_illegal_var 5. var 1234One

12


INFO1003_Foundamental of IT_2012 Semester 2_Lecture5.2_Javas(6).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:研究内容和方法

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: