下面 Java 代码的运行结果为()
public class Main { private int num = 10; public static void main(String[] args) { Main main = new Main() { @Override public void printNum() { System.out.println(num); } }; main.printNum(); } public void printNum() { System.out.println(num); } }