public class Test072204 { Test072204(){ System.out.println("进来了!"); } public static void main(String[] args) { Test072204 test=new Test072204(); } } 输出:进来了