精品一区二区中文在线,无遮挡h肉动漫在线观看,国产99视频精品免视看9,成全免费高清大全

新華信國際信息咨詢JAVA工程師筆試題

時間:2018-12-31 12:00:00 資料大全 我要投稿

新華信國際信息咨詢JAVA工程師筆試題

  選擇題

新華信國際信息咨詢JAVA工程師筆試題

  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:

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

新華信國際信息咨詢JAVA工程師筆試題

資料共享平臺

新華信國際信息咨詢JAVA工程師筆試題》(http://salifelink.com)。

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

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

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

  ib=ia; /*第4行*/

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

  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型變量,則執行下述語句組后,b的值為

  a=1;

  b=10;

  do

  {

  b-=a;

  a++;

  } while (b--<0);

  A.9

  B.-2

  C.-1

【新華信國際信息咨詢JAVA工程師筆試題】相關文章:

1.高級JAVA工程師筆試題

2.某公司Java工程師筆試題

3.廣州足跡信息技術有限公司Java軟件工程師試題

4.java軟件工程師筆試題目

5.某公司Java工程師面試題筆試題目

6.java筆試題

7.Java工程師三大框架面試題

8.凱捷咨詢筆經

主站蜘蛛池模板: 一个人看的视频www| 99热这里只有精品免费播放| 欧美俄罗斯乱妇| 亚洲国产欧美国产综合一区| 青青草原亚洲| 公和我做好爽添厨房在线观看| 香蕉eeww99国产精选免费| 真实国产老熟女粗口对白| 国产精品久久久| 国产VA在线观看免费| 中文无码日韩欧免费视频| 97在线观看| 2019nv天堂香蕉在线观看| 国产精品自产拍在线观看| 国产AV无码专区亚汌A√| 国产乱了真实在线观看| 黑人粗硬进入过程视频| 日本高清无卡码一区二区久久| 最新国产在线拍揄自揄视频| 精品国产污污免费网站入口| 精品人妻少妇一区二区三区| 欧美日韩不卡合集视频| 精品福利视频一区二区三区| 国产 字幕 制服 中文 在线| 国产精品免费看久久久| 国产AV天堂无码一区二区三区| 免费A级作爱片免费观看美国| 破了亲妺妺的处免费视频国产| 国产老肥熟XXXX| 最好的观看2018中文| 国产在线高清精品二区| 久久精品国产72国产精| 欧美色欧美亚洲高清在线视频| 亚洲日韩在线中文字幕综合| 国产成人精品久久一区二区三区| 国产区图片区小说区亚洲区| 最好看的电影2019中文字幕| 亚洲天堂2017无码| 亚洲高清一区二区三区电影| 日本xxx在线观看免费播放| 日本成aⅴ人片日本伦|