0_0_38843386_23331\Main.java:1: 错误: 需要class, interface或enum public static int add(int a, int b){ ^ 0_0_38843386_23331\Main.java:3: 错误: 需要class, interface或enum } ^ 2 个错误