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

阿里巴巴技術類筆試真題(五)

更新:2023-09-17 23:18:21 高考升學網

Question 49. (單選)

  Each method in a class must have a unique name.

  1. FALSE

  2. TRUE

Question 50. (單選)

  When an instance of a class, or object, is specified as a parameter to a method, a reference to the said object is passed to the method.

  1. FALSE

  2. TRUE

Question 51. (單選)

  All interface methods must be declared as public when implemented in a class.

  1. FALSE

  2. TRUE

Question 52. (單選)

  Which of the following expressions will produce errors upon compilation?

  (A) boolean a = (boolean) 1;

  (B) boolean b = (false && true);

  (C) float y = 22.3; (D) int x = (25 | 125)

  1. (A) & (C)

  2. (A)

  3. (A), (C) & (D)

  4. (A), (B) & (D)

Question 53. (單選)

  Which lines of the following will produce an error?

  1. byte a1 = 2, a2 = 4, a3;

  2. short s = 16;

  3. a2 = s;

  4. a3 = a1 a2;

  1. Line 3 and Line 4

  2. Line 1 only

  3. Line 3 only

  4. Line 4 only

  5. Line 1 and Line 4

Question 54. (單選)

  Which keyword can protect a class in a package from accessibility by the classes outside the package?

  1. don’t use any keyword at all (make it default)

  2. private

  3. protected

  4. final

Question 55. (單選)

  Which of the following statements are valid array declaration?

  (A) int number();

  (B) float average[];

  (C) double[] marks;

  (D) counter int[];

  1. (B) & (C)

  2. (A)

  3. (A) & (C)

  4. (D)

  友情提示:閱讀了本文“阿里巴巴技術類筆試真題”,本站中國人才網(cnrencai)筆試頻道,還為你提供更多“筆試題目”相關文章閱讀

最新圖文

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
9999久久久国产精品,日韩在线一区二区三区欧美,日韩精品综合在线人妻,免费AAAAAA毛片看
日本综合网在线观看免费 | 日韩精品另类图区中文字幕 | 亚洲欧洲国产精品香蕉网 | 亚洲欧美日韩在线综合久 | 亚洲欧美日韩另类中文字幕组 | 日本中文无线码在线观看 |