高級JAVA工程師筆試題

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

高級JAVA工程師筆試題

選擇題

高級JAVA工程師筆試題

  1:Which is the main() method return of a application?

  A.String

  B.byte

  C.char

  D.void

  2:

  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".

【高級JAVA工程師筆試題】相關(guān)文章:

1.高級Java筆試題集合

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

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

4.筆試題(高級機械工程師)

5.高級硬件工程師筆試題目

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

7.java筆試題

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