/**
* 为防止报错,所有错误命名使用单行注释示范
*/
public class HelloWorld {
public static void main(String[] args) {
String AHW = "HelloWorld";
String aHW = "HelloWorld";
String $HW = "HelloWorld";
String _HW = "HelloWorld";
//String 1HW = "HelloWorld";
//String #HW = "HelloWorld";
//String *HW = "HelloWorld";
String AA = "HelloWorld";
String Aa = "HelloWorld";
String A$ = "HelloWorld";
String A_ = "HelloWorld";
String A1 = "HelloWorld";
//String A# = "HelloWorld";
//String A- = "HelloWorld";
//String A* = "HelloWorld";
//String class = "HelloWorld";
String Man = "PuYulin"; //大小写敏感
String man = "PuYulin";
String name = "PuYulin"; //可以使用中文、拼音命名,但是太 Low 了
String 名字 = "PuYulin";
String minzi = "PuYulin";
String mz = "PuYulin";
}
}
原文:https://www.cnblogs.com/puyulin/p/14379551.html