标识符和关键字
关键字

标识符:
Java所有的组成部分都需要名字,类名 变量名 以及方法名都称为标识符
关键字+标识符
例如:
String hello =“holo”;
注意点:

String hello ="holo";
String _hello ="holo";
String $hello ="holo";
//String 123hello ="holo"; ×
//String #hello ="holo"; ×
//String -hello ="holo"; ×
//String class ="holo"; ×

浙公网安备 33010602011771号