纪念一下,也给其他想要入门的程序员一个demo。
配置好JDK后就可以写程序了。
新建一个Project命名为my world
然后再创建一个新的子类名叫hi,如果是新版软件会出现在子文件夹main的里面
然后写下代码
public class hi {
public static void main(String[] args) {
System.out.println("hallo world!!");
}
}
点击首行代码左边的红点 运行MAIN函数就可以让计算机输出Hallo world!