1024国产,91精品国产综合久久福利,中文字幕成人免费视频,日本人的色道免费网站,曰本一级毛片免费,www.日日爱,国产黑丝视频

當(dāng)前位置:高考升學(xué)網(wǎng) > 招聘筆試題 > 正文

新華信國際信息咨詢JAVA工程師筆試題和面試題答案(二)

更新:2023-09-18 13:10:37 高考升學(xué)網(wǎng)

  下述程序代碼中有語法錯誤的行是( )。

  int i,ia[10],ib[10]; /第一行/

  for (i=0;i<=9;i++) /第2行/

  ia[i]=0; /第3行/

  ib=ia; /第4行/

  A.第1行

  B.第2行

  C.第3行

  D.第4行

  6:

  public class OuterClass {

  private double d1 = 1.0;

  //insert code here

  }

  You need to insert an inner class declaration at line 3. Which two inner class declarations are

  valid?

  public class OuterClass {

  private double d1 = 1.0;

  //insert code here

  }

  You need to insert an inner class declaration at line 3. Which two inner class declarations are

  valid?

  A.class InnerOne{ public static double methoda() {return d1;} }

  B.public class InnerOne{ static double methoda() {return d1;} }

  C.private class InnerOne{ double methoda() {return d1;} }

  D.static class InnerOne{ protected double methoda() {return d1;} }

  7:假定a和b為int型變量,則執(zhí)行下述語句組后,b的值為

  a=1;

  b=10;

  do

  {

  b-=a;

  a++;

  } while (b--<0);

  A.9

  B.-2

  C.-1

最新圖文