/** * 标识符规范 * 1、在定义类、接口、抽象类时必须使用大驼峰命名,例如:HelloWorld * 2、在定义方法,变量等遵循的是小驼峰命名,定义方法main,定义变量:stuName * 3、标识符的命名最好能反映出其作用,做到见名知其意,例如:Student、Teacher * * 标识符定义规则 * 1、由字母、数字、下划线(_)、美元符($)组成,但不能包含@、%、空格等其它特殊字符 * 2、不能以数字开头。 * 3、标识符是严格区分大小写的,Java中是严格区分大小写的 a=10、A=11 */
public class Hello_World2 {
public static void main(String[] args) {
System.out.println("This is my first test of java train");
}
}