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

    當前位置:高考升學網 > 招聘筆試題 > 正文

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

    更新:2023-09-18 13:10:37 高考升學網

      選擇題

      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行/

    最新圖文

    2020年河北新聞網兩學一做

    時間:2023-09-18 07:0:24

    2020年河北新聞網兩學一做

    時間:2023-09-15 11:0:59

    兩學一做學習教育知

    時間:2023-09-21 06:0:30

    2020年開展兩學一做學習教

    時間:2023-09-19 21:0:30
    色婷婷六月亚洲综合香蕉| 亚洲视频在线免费看| 亚洲最大的黄色网| 亚洲喷奶水中文字幕电影| 亚洲人成在线电影| 久久亚洲精品国产精品| 666精品国产精品亚洲| 337p日本欧洲亚洲大胆艺术| 亚洲综合图片小说区热久久| 91亚洲va在线天线va天堂va国产| 色噜噜综合亚洲av中文无码| 久久亚洲精品成人AV| 亚洲成AV人综合在线观看| 亚洲一级片在线播放| 日韩亚洲人成在线| 亚洲成a人片在线不卡一二三区 | 亚洲欧洲av综合色无码| 亚洲欧好州第一的日产suv| 亚洲av无码成人影院一区| 日本中文一区二区三区亚洲| 亚洲日本中文字幕一区二区三区| 久久精品亚洲男人的天堂| 亚洲精品无码乱码成人| 亚洲国产成人私人影院| 亚洲视频在线观看网址| 亚洲一区二区三区影院| 久久久久亚洲精品日久生情| 亚洲综合在线视频| 亚洲国产模特在线播放| 亚洲人成人网毛片在线播放| 亚洲av成本人无码网站| 午夜亚洲国产成人不卡在线| 中文字幕在亚洲第一在线| 亚洲精品无码久久千人斩| 久久精品蜜芽亚洲国产AV| 亚洲人成网站日本片| 亚洲爆乳无码精品AAA片蜜桃| 亚洲欧洲久久久精品| 久久亚洲国产精品一区二区| 久久亚洲AV无码精品色午夜| 国产精品亚洲综合久久|