阿里巴巴的java笔试题
[10-10 21:21:19] 来源:http://www.77xue.com 笔试题目 阅读:8167次
概要:1. FALSE2. TRUEQuestion 48. (单选)A class contained in a Java program file must have the same name as the file, except for the extension “.java”.1. FALSE2. TRUEQuestion 49. (单选)Each method in a class must have a unique name.1. FALSE2. TRUEQuestion 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. FALSE2. TRUEQuestion 51. (单选)All interface me
阿里巴巴的java笔试题,标签:驾照笔试题目,腾讯笔试题目,http://www.77xue.com
1. FALSE
2. TRUE
Question 48. (单选)
A class contained in a Java program file must have the same name as the file, except for the extension “.java”.
1. FALSE
2. TRUE
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)
www.77xue.com哦
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)
Tag:笔试题目,驾照笔试题目,腾讯笔试题目,求职指南 - 求职笔试面试 - 笔试题目
- 上一篇:阿里巴巴的Oracle笔试题
《阿里巴巴的java笔试题》相关文章
- 阿里巴巴的java笔试题
- › 阿里巴巴技术类笔试题
- › 阿里巴巴笔试考点
- › 阿里巴巴一个笔试题
- › 阿里巴巴贸易销售代表笔试录
- › 阿里巴巴的笔试
- › 阿里巴巴非技术类笔试题
- › 阿里巴巴笔试题统计
- › 阿里巴巴搜索研发类笔试试题
- › 阿里巴巴2016校园招聘笔试(公共题摘录)
- › 几道阿里巴巴2016年的笔试题
- › 2016年阿里巴巴搜索研发类笔试试题
- › 阿里巴巴2016笔试题统计
- 在百度中搜索相关文章:阿里巴巴的java笔试题
- 在谷歌中搜索相关文章:阿里巴巴的java笔试题
- 在soso中搜索相关文章:阿里巴巴的java笔试题
- 在搜狗中搜索相关文章:阿里巴巴的java笔试题