【单选题】下列关于如下这段代码的说法中正确的是( )。 public class test { public static void throwit() { throw new RuntimeException(); } public static void main(String args[]) { try{ System.out.println(“你好吗”); throwit(); System.out...
【单选题】下列关于如下这段代码的说法中正确的是( )。 public class test { public static void throwit() { throw new RuntimeException() } public static void main(String args[]) { try{ System.out.println('你好吗') throwit() System.out.pr...
【简答题】public class Something { public static void main(String[] args) { Other o = new Other() new Something().addOne(o) } public void addOne(final Other o) { o.i++ } } class Other { public int i } 和上面的很相似,都...