编程语言
首页 > 编程语言> > Java标识符与关键字

Java标识符与关键字

作者:互联网

标识符

关键字

标识符注意点

 //合法标识符
        String Ahello = "zhi";
        String hello = "zhi";
        String $hello = "zhi";
        String _hello = "zhi";
//非法标识符
        String 1hello = "zhi"
        String #hello = "zhi"
        String *hello = "zhi"
 String _1 = "zhi";
String class = "zhi"
String Man = "zhi";
String man = "zhi";
String 王者荣耀 = "青铜";
System.out.println(王者荣耀);

标签:Java,String,关键字,zhi,标识符,hello
来源: https://www.cnblogs.com/zhinice/p/16332317.html