关键字
标识符注意点
点击查看代码
public class Demo01 {
public static void main(String[] args) {
String 王者荣耀 = "百星王者";
//String 王者荣耀 = "倔强青铜";
System.out.println(王者荣耀);
//大小写十分敏感
String Man = "lixiaohang";
String man = "lixiaohang";
String Ahello = "lixiaohang";
String hello = "lixiaohang";
String $hello = "lixiaohang";
String _hello = "lixiaohang";
String _1 = "lixiaohang";
//String 1hello = "lixiaohang";//不可用
//String #hello = "lixiaohang";//不可用
//string *hello = "lixiaohang";//不可用
}
}