标签:loaded int def keyword fence 一个 ble 英文 world
public class Hello{
public static void main(String[] args){
System.out.print("Hello,world!");
}
}
javac Hello.java //编译生成class文件
java Hello //运行class文件
?
Java是大小写敏感的
代码中Hello是一个类 main是方法
文件名和类名必须一致,且首字母大写
标签:loaded int def keyword fence 一个 ble 英文 world
原文地址:https://www.cnblogs.com/Alirious/p/14778799.html