- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
JAVA措辞中冒号的用法(国外英文资料)
JAVA语言中冒号的用法(国外英文资料)
The use of colons in JAVA
(2011-05-24, 11:46:41)
We reprint
Label:
Java
colon
It
Category: technical article
The use of colons in JAVA
Author: Maxthon and aoyousatuo/
From: /aoyousatuo
Recently, because I want to intervene in the development of Android platform, so I bought the book of JAVA language learning. Learning for some time, my feeling is that Tan Haoqiang is fierce, the preparation of the C programming language series is worthy of the classic. The introduction to the C language in the book is both systematic and comprehensive. Almost every technical detail of the C language specification can be introduced, and the book feels like a mathematical proof and a very systematic one. The JAVA language books, perhaps I was not much to see, feel the introduction are not comprehensive, and there is no system, many code details often introduce, then give a procedure quickly ended, people are not easy to understand, but some of the details is not related to root. This feels like a college English test, we always hang in sleepwalk or by. So I once had the idea of writing a JAVA tool book similar to Professor Tans C language. (heh heh, Im afraid its only an idea.)
The book may not come out, but I can still collect and study some details in the course of my study. Heres a brief introduction to the use of colons in the JAVA language.
Usage 1:
Used for question expressions, conditional expressions? Block 1: block 2;
Explanation: if the conditional expression is true, then the program statement executes block 1, and the value of block 1 is the value of the entire expression, otherwise it is the value of expression 2.
Note that Java has only the question mark expression, and there is no question mark statement, and the question mark expression plus the semicolon cannot form the program statement.
Usage 2:
A conditional label for a switch statement (switch statement)
Switch (variable)
{
Case value1:
Block;
Case value2:
Block;
......
Default:
Block;
}
Expl
您可能关注的文档
- (人教版)小学四年级(四舍五进)教授教化方法(国外英文资料).doc
- (人教版)初中罕见白话虚词的用法回结(国外英文资料).doc
- (优良母亲扮演的角色)(国外英文资料).doc
- (could可以看作是can的以前式(国外英文资料).doc
- (高中英语词汇教授教化)(国外英文资料).doc
- (必修)《心思学》课程功课评讲(2(国外英文资料).doc
- 003短时记忆(国外英文资料).doc
- 01言语行动实际评述(国外英文资料).doc
- 040BG-II型塑料瓶包装联动线标准操纵规程(国外英文资料).doc
- 0610GRE填空真题解析(国外英文资料).doc
- 2026年度陕西邮电职业技术学院单招《数学》能力提升B卷题库及一套参考答案详解.docx
- 2025年企业信用报告_中石化中原油建工程有限公司.docx
- 探析护理业务查房新模式在耳鼻喉科中的临床应用.docx
- 2025年四平水处理消毒设备项目申请报告.docx
- 2026年度陕西财经职业技术学院单招《数学》过关检测试卷及参考答案详解【突破训练】.docx
- 5.1植被课件2025-2026学年高中地理人教版必修第一册.pptx
- 2025年天然气管线工程融资投资立项项目可行性研究报告(中撰咨询).docx
- 碳达峰背景下三江源地区居住建筑节能降碳路径研究.docx
- 2025年景宁畲族自治县公开招聘专职社区工作者15人备考题库(含答案详解).docx
- 2025年景宁畲族自治县公开招聘专职社区工作者15人备考题库附答案详解(黄金题型).docx
原创力文档


文档评论(0)