标识符的学习

public class Demo01 {
    public static void main(String[] args) {
        String 王者荣耀 = "倔强青铜,你真是个辣鸡!";
        System.out.println(王者荣耀);

    //大小写十分敏感
  String Man = "任全球";
  String man = "任全球";

  String Ahello = "任全球";
  String ahello = "任全球";
  String $hello = "任全球";
  String _hello = "任全球";
  String _1 = "任全球";
  //String class = "任全球";
  //String 1hello = "任全球";
  //String #hello = "任全球";

}

}

猜你喜欢

转载自www.cnblogs.com/renquanqiu/p/12912766.html
今日推荐