package a;
public class Demo01_TestMainFunction
{
public Demo01_TestMainFunction()
{
}
//case1
//private static void main(String[] args)
//The method main(String[]) from the type Demo01_TestMainFunction is never used locally
//case2
//static void main(String[] args)
//protected static void main(String[] args)
//
//右键 - Run As - Java Application 根本就显示不出来
//固定写法,程序入口
public static void main(String[] args)
{
}
}
main function
最新推荐文章于 2021-07-10 03:44:21 发布