因为没有写public static void mian(String[] args) 在类里面只有属性和方法,内部类。不能直接写System.out.println(); 相关文章: 2022-12-23 2021-10-15 2021-12-04 2022-12-23 2021-09-20 2021-11-10 2022-12-23