<strike id="6q0um"></strike>
  • <strike id="6q0um"><s id="6q0um"></s></strike>
  • <ul id="6q0um"></ul><strike id="6q0um"></strike>

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

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

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

      選擇題

      1:Which statement about the garbage collection mechanism are true?

      A.Garbage collection require additional programe code in cases where multiple threads are running.

      B.The programmer can indicate that a reference through a local variable is no longer of interest.

      C.The programmer has a mechanism that explicity and immediately frees the memory used by Java objects.

      D.The garbage collection mechanism can free the memory used by Java Object at explection time.

      2:

      Given:

      1. public class test (

      2. public static void main (String args[]) {

      3. int i = 0xFFFFFFF1;

      4. int j = ~i;

      5.

      6. }

      7. )

      What is the decimal value of j at line 5?

      Given:

      1. public class test (

      2. public static void main (String args[]) {

      3. int i = 0xFFFFFFF1;

      4. int j = ~i;

      5.

      6. }

      7. )

      What is the decimal value of j at line 5?

      A.0

      B.1

      C.14

      D.-15

      3:

      What happens when you try to compile and run the following program?

      class Mystery{

      String s;

      public static void main(String[] args){

      Mystery m=new Mystery();

      m.go();

      }

      void Mystery(){

      s=”constructor”;

      }

      void go(){

      System.out.println(s);

      }

      }

      What happens when you try to compile and run the following program?

      class Mystery{

      String s;

      public static void main(String[] args){

      Mystery m=new Mystery();

      m.go();

      }

      void Mystery(){

      s=”constructor”;

      }

      void go(){

      System.out.println(s);

      }

      }

      A.this code compliles but throws an exception at runtime

      B.this code runs but nothing appears in the standard output

      C.this code runs and “constructor” in the standard output

      D.this code runs and writes ”null” in the standard output

      4:

      public class X{

      public Object m(){

      Object o = new Float(3.14F);//line 3

      Object [] oa = new Object;//line 4

      oa[0] = o;//line 5

      o=null;//line 6

      return oa[0];//line 7

      }

      }

      When is the Float object, created in line 3,eligible for garbage collection?

      public class X{

      public Object m(){

      Object o = new Float(3.14F);//line 3

      Object [] oa = new Object;//line 4

      oa[0] = o;//line 5

      o=null;//line 6

      return oa[0];//line 7

      }

      }

      When is the Float object, created in line 3,eligible for garbage collection?

      A.just after line 5.

      B.just after line 6

      C.just after line 7(that is,as the method returns)

      D.never in this method

      5:

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

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

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

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

      ib=ia; /第4行/

    相關(guān)文章

    最新圖文

    久久久久亚洲AV无码麻豆| 亚洲永久网址在线观看| 亚洲熟妇无码AV| 亚洲欧洲国产成人精品| 亚洲尹人九九大色香蕉网站| av在线亚洲欧洲日产一区二区| 亚洲成A人片77777国产| 国产区图片区小说区亚洲区| 激情小说亚洲色图| 亚洲av无码国产精品色在线看不卡 | 日韩亚洲AV无码一区二区不卡| 国内精品99亚洲免费高清| 亚洲国产综合精品一区在线播放| 最新亚洲人成无码网站| 亚洲 综合 国产 欧洲 丝袜 | 亚洲精品高清在线| 亚洲乱码中文字幕手机在线| 亚洲精品无码成人片在线观看 | 亚洲AV无码乱码在线观看裸奔| 伊人久久大香线蕉亚洲五月天| 国产AV无码专区亚洲AV手机麻豆| 77777亚洲午夜久久多人| 亚洲精品乱码久久久久久按摩 | 亚洲影院天堂中文av色| 亚洲av乱码中文一区二区三区| 国产亚洲欧美日韩亚洲中文色| 亚洲a∨国产av综合av下载| 色偷偷亚洲男人天堂| 亚洲国产精品视频| 久久精品亚洲乱码伦伦中文| 国产午夜亚洲精品午夜鲁丝片 | 亚洲校园春色另类激情| 亚洲自偷自偷在线成人网站传媒 | 亚洲国产美女视频| 亚洲国产成人精品激情| 久久国产亚洲精品| 亚洲AV日韩AV永久无码色欲| 亚洲精品无码av天堂| 国产成人无码综合亚洲日韩| 亚洲色四在线视频观看| 亚洲不卡中文字幕|