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

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

    思遷數碼科技Java軟件工程師筆試題和面試題答案

    更新:2023-09-15 18:38:30 高考升學網

    選擇題

      1:Which statements about Java code security are not true?

      A.The bytecode verifier loads all classes needed for the execution of a program.

      B.Executing code is performed by the runtime interpreter.

      C.At runtime the bytecodes are loaded, checked and run in an interpreter.

      D.The class loader adds security by separating the namespaces for the classes of the local file system from those imported from network sources.

      2:What is the result when you compile and run the following code?

      public class Test

      {

      public void method()

      {

      for(int i = 0; i < 3; i++)

      {

      System.out.print(i);

      }

      System.out.print(i);

      }

      }

      Choices:

      What is the result when you compile and run the following code?

      public class Test

      {

      public void method()

      {

      for(int i = 0; i < 3; i++)

      {

      System.out.print(i);

      }

      System.out.print(i);

      }

      }

      Choices:

      A.0122

      B.0123

      C.Compilation error

      D.None of these

      3:

      Give the following code:

      public class Example{

      public static void main(String args[] ){

      int l=0;

      do{

      System.out.println(“Doing it for l is:”+l);

      }while(--l>0)

      System.out.println(“Finish”);

      }

      }

      Which well be output:

      Give the following code:

      public class Example{

      public static void main(String args[] ){

      int l=0;

      do{

      System.out.println(“Doing it for l is:”+l);

      }while(--l>0)

      System.out.println(“Finish”);

      }

      }

      Which well be output:

      A.Doing it for l is 3

      B.Doing it for l is 1

      C.Doing it for l is 2

      D.Doing it for l is 0

      4:Math.round(11.5)等於多少?

      A.11

      B.12

      C.11.5

      D.none

      5:

      What will happen when you attempt to compile and run the following code?

      int Output = 10;

      boolean b1 = false;

      if((b1 == true) && ((Output += 10) == 20))

      {

      System.out.println("We are equal " + Output);

      }

      else

      {

      System.out.println("Not equal! " + Output);

      }

      Choices:

      What will happen when you attempt to compile and run the following code?

      int Output = 10;

      boolean b1 = false;

      if((b1 == true) && ((Output += 10) == 20))

      {

      System.out.println("We are equal " + Output);

      }

      else

      {

      System.out.println("Not equal! " + Output);

      }

      Choices:

      A.Compilation error, attempting to perform binary comparison on logical data type

      B.Compilation and output of "We are equal 10".

      C.Compilation and output of "Not equal! 20".

      D.Compilation and output of "Not equal! 10".

      6:

      What will happen when you attempt to compile and run the following code?

      (Assume that the code is compiled and run with assertions enabled.)

      public class AssertTest{

      public void methodA(int i){

      assert i >= 0 : methodB();

      System.out.println(i);

      }

      public void methodB(){

      System.out.println("The value must not be negative");

      }

      public static void main(String args[]){

      AssertTest test = new AssertTest();

      test.methodA(-10);

      }

      }

      What will happen when you attempt to compile and run the following code?

      (Assume that the code is compiled and run with assertions enabled.)

      public class AssertTest{

      public void methodA(int i){

      assert i >= 0 : methodB();

      System.out.println(i);

      }

      public void methodB(){

      System.out.println("The value must not be negative");

      }

      public static void main(String args[]){

      AssertTest test = new AssertTest();

      test.methodA(-10);

      }

      }

      A.it will print -10

      B.it will result in AssertionError showing the message-“the value must not be negative”.

    最新圖文

    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
    亚洲第一极品精品无码久久| 亚洲国产精品无码久久久久久曰| 亚洲大成色www永久网站| 亚洲线精品一区二区三区| 亚洲国产精品成人久久蜜臀| 亚洲a∨无码一区二区| 亚洲av无码成人精品区一本二本| 亚洲精品GV天堂无码男同| 亚洲JIZZJIZZ妇女| 亚洲AV成人无码网天堂| 亚洲AⅤ优女AV综合久久久| 亚洲精品国产电影| 国产aⅴ无码专区亚洲av麻豆| 亚洲香蕉网久久综合影视| 亚洲精品V欧洲精品V日韩精品| 亚洲国产精品无码专区| 亚洲av丰满熟妇在线播放 | 亚洲男人天堂av| 91天堂素人精品系列全集亚洲| 亚洲高清资源在线观看| 精品日韩99亚洲的在线发布| 亚洲综合av一区二区三区不卡| 亚洲欧美成aⅴ人在线观看| 日韩在线视精品在亚洲| 亚洲人AV永久一区二区三区久久| 亚洲夜夜欢A∨一区二区三区| 亚洲s色大片在线观看| 亚洲综合男人的天堂色婷婷| 亚洲综合色7777情网站777| 亚洲第一成年网站视频| 亚洲国产精品无码久久九九| 亚洲精品成人无限看| 色婷婷亚洲十月十月色天| 亚洲人成影院在线高清| 亚洲欧美日韩综合俺去了| 亚洲国产一区二区三区| 亚洲国产成人一区二区精品区| 亚洲视频日韩视频| 亚洲日韩精品国产3区| 亚洲国产精品无码久久青草| 中文亚洲成a人片在线观看|