The first novice Java program
Welcome to the world of java
Meng new program new to java when first written in general is this, it was a sprout new. Send articles, consolidate knowledge,
hey ...
//HelloWorld :类名,此类名应和文件名相同【java是严格区分字母大小写的】
public class HelloWorld {
//此为程序的主入口 调用的是main方法
public static void main(String[] args) {
//最后控制台输出的信息为: Hello World!
System.out.println("Hello World!");
}
}