成人免费网站视频,成人午夜免费av,依依成人综合视频,蜜桃视频m3u8在线观看

所在位置:大風車考試網 > 招聘筆試題 > 正文

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

2024-05-23 17:34:01 大風車考試網

  選擇題

  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[1];//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[1];//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行*/

  • 相關文章
  • 聯合利華(Unilever)校園招聘筆試真題聯合利華(Unilever)校園招聘筆試真題

    語言:英文 一.Numerical(20分鐘,2*10chart=20題) Chart1.全球5大家電生產商 XY坐標系:X軸為低端、中端、高端、超高端,Y軸為收入 問:1)哪家..

    2024-05-30 19:30:10
  • 格力機械類筆試真題分享格力機械類筆試真題分享

    一、填空題 1、鏈傳動是依靠鏈條與鏈輪輪齒的嚙合來傳遞運動和動力的,所以應屬于撓性傳動。 2、EDM的中文含義是電火花加工(ElectricalDischargeMachin..

    2024-06-05 16:12:18
  • 德勤公司招聘的筆試推理題德勤公司招聘的筆試推理題

    五個人來自不同地方,住不同房子,養不同動物,吸不同牌子香煙,喝不同飲料,喜歡不同食物。根據以下線索確定誰是養貓的人。 1,紅房子在藍房子的右邊,白房..

    2024-06-01 02:03:48
  • 聯合利華(Unilever)校園招聘筆試真題聯合利華(Unilever)校園招聘筆試真題

    語言:英文 一.Numerical(20分鐘,2*10chart=20題) Chart1.全球5大家電生產商 XY坐標系:X軸為低端、中端、高端、超高端,Y軸為收入 問:1)哪家..

    2024-05-30 19:30:10
  • 格力機械類筆試真題分享格力機械類筆試真題分享

    一、填空題 1、鏈傳動是依靠鏈條與鏈輪輪齒的嚙合來傳遞運動和動力的,所以應屬于撓性傳動。 2、EDM的中文含義是電火花加工(ElectricalDischargeMachin..

    2024-06-05 16:12:18
  • 德勤公司招聘的筆試推理題德勤公司招聘的筆試推理題

    五個人來自不同地方,住不同房子,養不同動物,吸不同牌子香煙,喝不同飲料,喜歡不同食物。根據以下線索確定誰是養貓的人。 1,紅房子在藍房子的右邊,白房..

    2024-06-01 02:03:48
  • 河北新聞網兩學一做知識競賽(試題+答案完整版)河北新聞網兩學一做知識競賽(試題+答案完整版)

    2016河北新聞網兩學一做知識競賽開賽啦,快來圍觀吧。活動內容為推動“兩學一做”學習教育深入開展,省委宣傳部、省委組織部組織開展“兩學一做”知識競賽活動,河北?.

    2024-06-04 02:17:24
  • 河北新聞網兩學一做知識競賽活動試題答案河北新聞網兩學一做知識競賽活動試題答案

    2016年河北新聞網兩學一做知識競賽活動試題答案為推動“兩學一做”學習教育深入開展,省委宣傳部、省委組織部組織開展“兩學一做”大型知識競賽。此項活動由河北新聞?.

    2024-06-06 02:19:48
  • 2025年兩學一做學習教育知識競賽活動10篇2025年兩學一做學習教育知識競賽活動10篇

    為隆重紀念中國共產黨建黨95周年,推進我市“兩學一做”學習教育深入開展,推動廣大黨員干部認真學好黨章黨規和*系列重要講話,現將“兩學一做”學習教育知識競賽題予..

    2024-05-31 08:40:33
  • 開展兩學一做學習教育知識競賽活動真題答案開展兩學一做學習教育知識競賽活動真題答案

    144.根據《中國共產黨紀律處分條例》規定,黨的各級代表大會的代表受到(D)處分的,黨組織應當終止其代表資格。A.警告(含)以上B.嚴重警告(含)以上C.撤銷黨內職務(含)以..

    2024-05-27 03:14:20
主站蜘蛛池模板: 专栏| 威宁| 建水县| 神农架林区| 瓦房店市| 房山区| 四会市| 龙州县| 化德县| 保定市| 广饶县| 喀喇沁旗| 拉孜县| 台中县| 临高县| 宜城市| 霍林郭勒市| 宁海县| 德江县| 天门市| 托克托县| 双流县| 留坝县| 灵寿县| 丹阳市| 白城市| 始兴县| 达孜县| 台南市| 邢台市| 昭苏县| 兴安盟| 天水市| 永宁县| 方正县| 九龙县| 德安县| 东乡| 建瓯市| 宣武区| 上虞市|