- 11
- 0
- 约3.71千字
- 约 4页
- 2017-06-07 发布于重庆
- 举报
2012级java期末考试真题
1. Java是一种完全面向( )A. 过程 B. 对象 C. 组件 D. 服务
2. Java语言是1995年由( )( )( )( )( )( )( )()( )( )10/4*5 的结果为( )A. 12.5 B. 10 C. 0.5 D. 12
13. 假设语句 for int i 1;i 100;i* 2 ,请问该循环,可以循环( B )次。
A. 6 B. 7 C. 8 D. 9
14. 关于while和for语句,说法错误的是( B )。
A. 都是循环语句 B. while语句肯定循环一次
C. for语句条件可以全为空 D. do-while比while在初始条件不成立时多执行一次
15. 下列哪个选项是可以获得数组长度的关键字( B )。
A. size B. length C. length D. size
16. 假设a true,b false,那么下列哪个选项的两个表达式相等的( A )。
A. ! a||b 与!a||b B. ! ab 与!ab
C. ! a||!b 与a!b D.!!!a与!b
17. 下列语句输出结果是(D )。
String str 123;
str str+ 4+3 + 5;
System.out.println str ;
A.
您可能关注的文档
- 2012江苏高考压轴卷英语含答案.doc
- 2012江苏高考数学及答案.doc
- 2012江苏高考数学文科试卷(含答案)word(噢).doc
- 2012江苏高考数学全真模拟试题(附加题).doc
- 2012江苏高考数学答案.doc
- 2012江苏高考数学试卷160分部分(word版无答案).doc
- 2012江苏高考物理部分试题及解答.doc
- 2012江西中考物理试卷及答案(版).doc
- 2012江西省临川一中4月模拟考试文综试题.doc
- 2012江西省化学竞赛初赛试题‘.doc
- unidir -人工智能与国际安全:理解风险并为建立信任措施铺平道路 AI and International Security - Understanding the Risks and Paving the Path for Confidence-Building Measures.pdf
- unidir -通过负责任行为的规范、规则和原则推进空间安全的非洲视角 African Perspectives for Advancing Space Security Through Norms, Rules and Principles of Responsible Behaviours - Workshop Summary Report.pdf
- wfp -约旦学校供餐计划影响评估 Jordan, School Meal Programme Impact Evaluation.pdf
- wfp -注意差距 莱索托案例研究 Mind the Gap -Lesotho Case Study.pdf
- unesco -数字公共产品与新兴技术促进公平和包容的知识获取 Dubai Declaration on Open Educational Resources (OER) digital public goods and emerging technologies for equitable and inclusive access to knowledge.pdf
- unidir -致命自主武器系统领域新兴技术相关提案 Proposals Related to Emerging Technologies in the Area of Lethal Autonomous Weapons Systems- A Resource Paper (updated).pdf
- who -脊髓灰质炎过渡战略框架:监测与评估 Polio transition strategic framework - Monitoring and evaluation.pdf
- who -高效实用的结核病治疗试验平台会议报告 Platform for efficient and practical tuberculosis treatment trials.pdf
- unesco -国际性教育技术指导纲要:循证方法 International technical guidance on sexuality education - an evidence-informed approach.pdf
- UNIDIR_unidir -涉足浑浊之水:海底通信电缆与负责任的国家行为 Wading Murky Waters - Subsea Communications Cables and Responsible State Behaviour.pdf
原创力文档

文档评论(0)