中科软java程序员笔试题面试题.docVIP

  • 65
  • 0
  • 约2.4千字
  • 约 4页
  • 2020-03-10 发布于贵州
  • 举报
编程语言方面。(满分100分) 选择题 public class test{ String s = new String (“Hello”); Notify(s); System.out.println(s); } Public static void notify(String s){ S += “world”; } What is the return ?(5分) A . The program runs and prints “Hello” B . As error causes compilation to fail. C . The program tuns and prints “Hello world!” D . The program runs but aborts with 按exception 2 . Public class test{ public static String output = ; public static void foo (int i){ try{ if(i==1){ throw new Exception e; } } } } A . 14323 B . 24313 C . 13423 D .13243 3 . If (x0) { System.out.println(“firs

文档评论(0)

1亿VIP精品文档

相关文档