- 1、本文档共22页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
(java)面相对象程序设计 复习题((Java) face object programming review questions)
(java)面相对象程序设计 复习题((Java) face object programming review questions)
The second chapter: Java language foundation
One choice question
1., the following Java identifier, the error is ()
_sys_varl
$change
User_name
1_file
The following ones that do not belong to simple data types are
Integer type
class
Symbol number type
Boolean type
The following belongs to the JAVA keyword
TRUE
Goto
Float
NULL
The following statements and assignment statements are wrong
Double w=3.1415;
String strl= bye;
Float z=6.74567
Boolean truth=true;
Java, octal ______ hundreds of beginning.
0x
Zero
0X
08
Custom type conversions are done by converting precedence data from high-level data to advanced data
Char-int-long-float-double
Int-long-float-double-char
Long-float-int-double-char
None of this is true
In Java, the Integer.MAX_VALUE representation
Maximum value of floating point type
Integer type maximum
Long integer maximum
Neither of these statements is correct
In JAVA, the symbol that is not possible in the data type value is ()
D
F
E
/
The following quotes for single quotes are ()
\ \
\ \ \ \
\ \
10. in the following statement fragment, the value of four is: ()
Int three=3;
Char one= 1
Char four= (char) (three+one);
Three
One
Thirty-one
Four
11.. The following types that do not belong to integer variables are
Byte
Short
Float
Long
12.. Int type integer variables in memory are in the digits of
Eight
Sixteen
Thirty-two
Sixty-four
13., the following data type conversions must be enforced
Byte to int
Short to long
Float to double
Int to char
In 14., Java, define constants with () keywords
Final
#define
Float
Const
15., about the scope of the variables, the following statement is wrong
Exception handler scope is the whole class
The code section of a method that applies a local variable to declare that variable
Class variables act on classes that declare that variable
Method parameters are used to pass to the inner code segment
16.. The following are conditional operators
+
?:
?
17.. The
您可能关注的文档
- (二)统考考务管理系统考点申报使用说明((two) examination, examination and management system, test site declaration, instructions for use).doc
- (二) 变量和常量((two) variables and constants).doc
- (纠正版)怀旧动画金曲夜((correction Edition) nostalgic animation Golden Night).doc
- (八年级数学)图形的全等(二)—全等三角形的识 …((Mathematics of grade eight) the congruence of figures (two) - congruent triangles...).doc
- (转)现在当兵一年能拿多少补贴((transfer) how much subsidy can we get for a year in the army).doc
- (项目管理者联盟专稿)定量分析在it项目管理中的应用研究(Application of quantitative analysis in project management of IT project).doc
- 003操作系统样卷(003 operating system volume).doc
- 005-浅谈医院电子病历系统的发展与应用(广州新海医院)(The development and application of 005- on the hospital electronic medical record system (Guangzhou Xinhai hospital)).doc
- 009中国古代战车(009 ancient Chinese Chariot).doc
- 00新闻侵害隐私权的特点及表现方式(00, news infringement of privacy characteristics and manifestations).doc
- 职业技术学院2024级工业机器人技术(安装与维护)专业人才培养方案.docx
- 职业技术学院2024级应用化工技术专业人才培养方案.pdf
- 职业技术学院2024级软件技术(前端开发)专业人才培养方案.pdf
- 职业技术学院2024软件技术专业人才培养方案.docx
- 职业技术学院2024级信息安全技术应用(安全运维)专业人才培养方案.docx
- 职业技术学院2024级新能源汽车检测与维修技术(车辆鉴定与评估)专业人才培养方案.pdf
- 职业技术学院2024级石油炼制技术专业人才培养方案.pdf
- 职业技术学院2024级环境监测技术专业人才培养方案.docx
- 职业技术学院2024级汽车制造与试验技术专业人才培养方案.pdf
- 职业技术学院2024级信息安全技术应用专业人才培养方案.pdf
文档评论(0)