public class NoMain {
public static void main(String[] args){
Main mmm= new Main();
}
}
class Main{
static{
System.out.println("hello,no main world!!");
}
}
静态块
最新推荐文章于 2024-05-16 22:44:04 发布
public class NoMain {
public static void main(String[] args){
Main mmm= new Main();
}
}
class Main{
static{
System.out.println("hello,no main world!!");
}
}