Identifiers(标识符)-java课件的资源

时间:2024-05-16 03:15:02
【文件属性】:

文件名称:Identifiers(标识符)-java课件的资源

文件大小:1.43MB

文件格式:PPT

更新时间:2024-05-16 03:15:02

java

Identifiers(标识符) 标识符是用于标只某一事物的符号,Java程序中的类名、方法名和变量名都属于标识符。 Rules: An identifier is a sequence of characters that consist of letters, digits, underscores (_), and dollar signs ($). An identifier must start with a letter, an underscore (_), or a dollar sign ($). It cannot start with a digit. An identifier cannot be a reserved word. (See Appendix A, “Java Keywords,” for a list of reserved words). It is Case-sensitive : Scanner is different from scanner An identifier can be of any length.


网友评论