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 exPssions 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)
友情提示:阅读了本文“阿里巴巴技术类笔试真题”,本站高考知识网()笔试频道,还为你提供更多“笔试题目”相关文章阅读
金山职业技术学院对比四川汽车职业技术学院哪个好 附分..
时间:2025-05-22 09:08:12成都银杏酒店管理学院在重庆高考招生计划人数和专业代..
时间:2025-05-22 09:05:01四川上山东理工大学多少分 分数线及排名
时间:2025-05-22 09:01:18江西高考理科533分排名多少 排名多少位次
时间:2025-05-22 08:57:21大连东软信息学院对比甘肃民族师范学院哪个好 附分数线..
时间:2025-05-22 08:53:39广东高考455至460分左右物理可以上什么大学
时间:2025-05-22 08:49:52
中国点击率最高的一篇文章 !2023-08-13 03:45:29
海南上长春工业大学多少分 分数线及排名2025-05-22 09:28:45
科尔沁艺术职业学院对比山东水利职业学院哪个好 附分数线排名2025-05-22 09:25:00
呼和浩特职业学院对比山西警官职业学院哪个好 附分数线排名2025-05-22 09:22:04
四川工程职业技术学院在上海高考招生计划人数和专业代码(参考)2025-05-22 09:19:52
泰山科技学院对比西安理工大学高科学院哪个好 附分数线排名2025-05-22 09:16:28
江西航空职业技术学院在云南高考招生计划人数和专业代码(参考)2025-05-22 09:13:20
辽宁特殊教育师范高等专科学校对比江西工商职业技术学院哪个好 附分数线排名2025-05-22 09:10:51
新浪RIA前端笔试试题2023-08-22 04:51:33
网易游戏笔试真题2023-08-24 16:14:29
宝洁笔试主要题型2023-08-18 06:56:58 




