亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? concepts.doc.html

?? 一本關(guān)于java方面的書籍 英文html形式 關(guān)于Java虛擬機
?? HTML
?? 第 1 頁 / 共 5 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><html><head><title>VM Spec  Java Concepts</title></head><body BGCOLOR=#eeeeff text=#000000 LINK=#0000ff VLINK=#000077 ALINK=#ff0000><table width=100%><tr><td><a href="VMSpecTOC.doc.html">Contents</a> | <a href="Introduction.doc.html">Prev</a> | <a href="Overview.doc.html">Next</a> | <a href="Lindholm.INDEX.html">Index</a></td><td align=right><i><i>The Java<sup><font size=-2>TM</font></sup> Virtual Machine Specification</i></i></td></tr></table><hr><br> <a name="27073"></a><p><strong>CHAPTER 2 </strong></p><a name="27074"></a><h1>Java Concepts</h1><hr><p><a name="27075"></a>The Java Virtual Machine was designed to support the Java programming language. Some concepts and vocabulary from the Java language are thus necessary to understand the virtual machine. This chapter gives enough of an overview of Java to support the discussion of the Java Virtual Machine to follow. Its material has been condensed from <i>The Java Language Specification</i>, by James Gosling, Bill Joy, and Guy Steele. For a complete discussion of the Java language, or for details and examples of the material in this chapter, refer to that book. Readers familiar with that book<i> </i>may wish to skip this chapter. Readers familiar with Java, but not with <i>The</i> <i>Java Language Specification</i>, should at least skim this chapter for the terminology it introduces.<p><a name="22928"></a>This chapter does not attempt to provide an introduction to or a full treatment of the Java language. For an introduction to Java, see <i>The Java Programming Language</i>, by Ken Arnold and James Gosling.<p><a name="25310"></a><hr><h2>2.1	 Unicode</h2><a name="25315"></a>Java programs are written using the<i> Unicode</i> character encoding, version 1.1.5, as specified in <em>The Unicode Standard: Worldwide Character Encoding</em>, Version 1.0, Volume 1, ISBN 0-201-56788-1, and Volume 2, ISBN 0-201-60845-6, and the update information about Unicode 1.1.5 available at <code>ftp://unicode.org</code>. There are a few minor errors in this update information; refer to <i>The Java Language Specification</i> for corrections. Updates to the Unicode information published there will be posted under the URL <code>http://java.sun.com/docs/books/index.html</code>.<p><a name="23148"></a>Except for comments and identifiers <a href="Concepts.doc.html#25339">(&#167;2.2)</a> and the contents of character and string literals <a href="Concepts.doc.html#23152">(&#167;2.3)</a>, all input elements in a Java program are formed from only <i>ASCII</i> characters. ASCII (ANSI X3.4) is the American Standard Code for Information Interchange. The first 128 characters of the Unicode character encoding are the ASCII characters.<p><a name="25339"></a><hr><h2>2.2	 Identifiers</h2><a name="23857"></a>An <i>identifier</i> is an unlimited-length sequence of Unicode <i>letters</i> and <i>digits</i>, the first of which must be a letter. Letters and digits may be drawn from the entire Unicode character set, which supports most writing scripts in use in the world today. This allows Java programmers to use identifiers in their programs that are written in their native languages.<p><a name="23858"></a>The Java method <code>Character.isJavaLetter</code> returns <code>true</code> when passed a Unicode character that is considered to be a letter in Java identifiers. The Java method <code>Character.isJavaLetterOrDigit</code> returns <code>true</code> when passed a Unicode character that is considered to be a letter or digit in Java identifiers.<p><a name="23151"></a>Two identifiers are the same only if they have the same Unicode character for each letter or digit; identifiers that have the same external appearance may still be different. An identifier must not be the same as a Java keyword or a boolean literal (<code>true or</code> <code>false</code>).<p><a name="23152"></a><hr><h2>2.3	 Literals</h2><a name="23156"></a>A <i>literal</i> is the source code representation of a value of a primitive type <a href="Concepts.doc.html#19511">(&#167;2.4.1)</a>, the <code>String</code> type <a href="Concepts.doc.html#25486">(&#167;2.4.7)</a>, or the null type <a href="Concepts.doc.html#22930">(&#167;2.4)</a>. String literals and, more generally, strings that are the values of constant expressions, are "interned" so as to share unique instances, using the method <code>String.intern</code>. <p><a name="27355"></a>The null type has one value, the null reference, denoted by the literal <code>null</code>.<p><a name="27356"></a>The <code>boolean</code> type has two values, denoted by the literals <code>true</code> and <code>false</code>.<p><a name="22930"></a><hr><h2>2.4	 Types and Values</h2><a name="17177"></a>Java is a <i>strongly typed</i> language, which means that every variable and every expression has a type that is known at compile time. Types limit the values that a variable <a href="Concepts.doc.html#17203">(&#167;2.5)</a> can hold or that an expression can produce, limit the operations supported on those values, and determine the meaning of those operations. Strong typing helps detect errors at compile time. <p><a name="23869"></a>The types of the Java language are divided into two categories: <i>primitive types</i> <a href="Concepts.doc.html#19511">(&#167;2.4.1)</a> and <i>reference types</i> <a href="Concepts.doc.html#25376">(&#167;2.4.5)</a>. There is also a special <i>null type</i>, the type of the expression <code>null</code>, which has no name. The null reference is the only possible value of an expression of null type, and can always be converted to any reference type. In practice, the Java programmer can ignore the null type and just pretend that <code>null</code> is a special literal that can be of any reference type.<p><a name="23205"></a>Corresponding to the primitive types and reference types, there are two categories of data values that can be stored in variables, passed as arguments, returned by methods, and operated upon: <i>primitive values</i> <a href="Concepts.doc.html#19511">(&#167;2.4.1)</a> and <i>reference values</i> <a href="Concepts.doc.html#25376">(&#167;2.4.5)</a>.<p><a name="19511"></a><h3>2.4.1	 Primitive Types and Values</h3><a name="27843"></a>A <i>primitive type</i> is a type that is predefined by the Java language and named by a reserved keyword. <i>Primitive values</i> do not share state with other primitive values. A variable whose type is a primitive type always holds a primitive value of that type.<a href="#27846"><sup>1</sup></a><p><a name="23025"></a>The primitive types are the <code>boolean</code> <i>type</i> and the <i>numeric types</i>. The numeric types are the <i>integral types</i> and the <i>floating-point types. </i><p><a name="23026"></a>The integral types are <code>byte</code>, <code>short</code>, <code>int</code>, and <code>long</code>, whose values are 8-bit, 16-bit, 32-bit, and 64-bit signed two's-complement integers, respectively, and <code>char</code>, whose values are 16-bit unsigned integers representing Unicode characters <a href="Concepts.doc.html#25310">(&#167;2.1)</a>. <p><a name="19367"></a>The <i>floating-point types</i> are <code>float</code>, whose values are 32-bit IEEE 754 floating-point numbers, and <code>double</code>, whose values are 64-bit IEEE 754 floating-point numbers as specified in <i>IEEE Standard for Binary Floating-Point Arithmetic</i>, ANSI/IEEE Standard 754-1985 (IEEE, New York). The IEEE 754 standard includes not only positive and negative sign-magnitude numbers, but also positive and negative zeroes, positive and negative <i>infinities</i>, and a special Not-a-Number (hereafter abbreviated NaN) value. The NaN value is used to represent the result of certain operations such as dividing zero by zero.<p><a name="23033"></a>The <code>boolean</code> type has the truth values <code>true</code> and <code>false</code>.<p><a name="17876"></a><h3>2.4.2	 Operators on Integral Values</h3><a name="17881"></a>Java provides a number of operators that act on integral values, including numerical comparison (which results in a value of type <code>boolean</code>), arithmetic operators, increment and decrement, bitwise logical and shift operators, and numeric cast <a href="Concepts.doc.html#18168">(&#167;2.6.8)</a>.<p><a name="20881"></a>Operands of certain unary and binary operators are subject to numeric promotion <a href="Concepts.doc.html#16021">(&#167;2.6.9)</a>.<p><a name="17886"></a>The built-in integer operators do not indicate overflow or underflow in any way; they wrap around on overflow or underflow. The only integer operators that can throw an exception are the integer divide and integer remainder operators, which can throw an <code>ArithmeticException</code> if the right-hand operand is zero.<p><a name="23049"></a>Any value of any integral type may be cast to or from any numeric type. There are no casts between integral types and the type <code>boolean</code>.<p><a name="17889"></a><h3>2.4.3	 Operators on Floating-Point Values</h3><a name="17902"></a>Java provides a number of operators that act on floating-point values, including numerical comparison (which results in a value of type <code>boolean</code>), arithmetic operators, increment and decrement, and numeric cast <a href="Concepts.doc.html#18168">(&#167;2.6.8)</a>.<p><a name="19472"></a>If at least one of the operands to a binary operator is of floating-point type, then the operation is a floating-point operation, even if the other operand is integral. Operands of certain unary and binary operators are subject to numeric promotion <a href="Concepts.doc.html#16021">(&#167;2.6.9)</a>.<p><a name="23051"></a>Operators on floating-point numbers behave exactly as specified by IEEE 754. In particular, Java requires support of IEEE 754 <i>denormalized</i> floating-point numbers and <i>gradual underflow</i>, which make it easier to prove desirable properties of particular numerical algorithms.<p><a name="17932"></a>Java requires that floating-point arithmetic behave as if every floating-point operator rounded its floating-point result to the result precision. <i>Inexact</i> results must be rounded to the representable value nearest to the infinitely precise result; if the two nearest representable values are equally near, the one with its least significant bit zero is chosen. This is the IEEE 754 standard's default rounding mode known as <i>round-to-nearest</i>.<p><a name="17933"></a>Java uses <i>round-towards-zero</i> mode when converting a floating-point value to an integer <a href="Concepts.doc.html#26142">(&#167;2.6.3)</a>. Round-towards-zero mode acts as though the number were truncated, discarding the mantissa bits. Round-towards-zero chooses as its result the format's value closest to and no greater in magnitude than the infinitely precise result.<p><a name="17934"></a>Java floating-point operators produce no exceptions <a href="Concepts.doc.html#22727">(&#167;2.15)</a>. An operation that overflows produces a signed infinity; an operation that underflows produces a signed zero; and an operation that has no mathematically definite result produces <code></code>NaN. All numeric operations (except for numeric comparison) with <code></code>NaN as an operand produce <code></code>NaN as a result.<p><a name="23230"></a>Any value of any floating-point type may be cast <a href="Concepts.doc.html#18168">(&#167;2.6.8)</a> to or from any numeric type. There are no casts between floating-point types and the type <code>boolean</code>.<p><a name="17937"></a><h3>2.4.4	 Operators on <code>boolean</code> Values </h3><a name="18642"></a>The boolean operators include relational operators and logical operators. Only <code>boolean</code> expressions can be used in Java's control flow statements and as the first operand of the conditional operator <code>?:</code>. An integral value <code>x</code> can be converted to a value of type <code>boolean</code>, following the C language convention that any nonzero value is <code>true</code>, by the expression <code>x!=0</code>. An object reference <code>obj</code> can be converted to a value of type <code>boolean</code>, following the C language convention that any reference other than <code>null</code> is <code>true</code>, by the expression <code>obj!=null</code>.<p><a name="23229"></a>There are no casts between the type <code>boolean</code> and any other type.<p>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一级精品大片| 亚洲一区二区视频| 日韩欧美aaaaaa| 9191国产精品| 欧美日韩黄色影视| 欧美一区二区三区四区久久| 欧美日韩视频在线第一区 | 国产一区二区三区四区五区入口| 午夜精品久久久久久久99樱桃| 亚洲精品视频在线看| 亚洲欧美经典视频| 亚洲欧美区自拍先锋| 玉足女爽爽91| 天天免费综合色| 丝袜亚洲另类丝袜在线| 日韩精品电影一区亚洲| 美女视频免费一区| 国内精品伊人久久久久av一坑 | 精彩视频一区二区| 国产自产视频一区二区三区| 国产一区二区0| 成人精品视频网站| 在线欧美日韩精品| 欧美男男青年gay1069videost| 欧美私人免费视频| 欧美另类一区二区三区| 欧美v亚洲v综合ⅴ国产v| 久久综合久久综合久久| 欧美国产日韩亚洲一区| ...xxx性欧美| 亚洲一区二区高清| 欧美96一区二区免费视频| 国产综合色精品一区二区三区| 成人自拍视频在线| 欧美影视一区在线| 日韩视频在线一区二区| 久久精品夜夜夜夜久久| 最新国产成人在线观看| 日本一区中文字幕| 国产一区二区不卡在线| 色综合一个色综合亚洲| 7777精品伊人久久久大香线蕉| ww亚洲ww在线观看国产| 亚洲人成网站影音先锋播放| 五月激情综合色| 国产在线观看免费一区| 日本韩国精品在线| 日韩欧美不卡一区| 亚洲欧美成人一区二区三区| 天天综合网 天天综合色| 国产精品一品视频| 欧美亚洲尤物久久| 久久久精品天堂| 亚洲午夜精品一区二区三区他趣| 国产在线精品一区二区三区不卡| av电影在线观看一区| 日韩一区二区高清| 自拍偷拍亚洲综合| 欧美日韩一区二区三区四区五区| 日韩小视频在线观看专区| 国产精品福利影院| 免费成人美女在线观看.| av中文一区二区三区| 欧美www视频| 亚洲图片有声小说| 成人av手机在线观看| 日韩一区二区在线免费观看| 亚洲视频在线观看三级| 久久国产精品露脸对白| 欧洲中文字幕精品| 国产精品国产自产拍高清av| 欧美aⅴ一区二区三区视频| 日本久久精品电影| 国产精品国产三级国产三级人妇 | 欧美r级在线观看| 亚洲最大成人综合| 成人综合婷婷国产精品久久蜜臀| 在线播放中文字幕一区| 亚洲免费av高清| 国产美女精品一区二区三区| 69堂精品视频| 一区二区三区在线观看视频| 成人免费视频播放| 26uuu久久综合| 午夜欧美在线一二页| 91蜜桃在线观看| 欧美国产激情二区三区| 国产真实乱偷精品视频免| 日韩三级中文字幕| 亚洲大片免费看| 在线观看欧美日本| 亚洲免费色视频| 99精品热视频| 国产精品视频观看| 国产suv精品一区二区883| 精品少妇一区二区三区日产乱码 | 欧美激情中文字幕| 九九精品一区二区| 日韩三级在线观看| 免费在线欧美视频| 欧美一级高清片在线观看| 日韩国产在线一| 欧美美女直播网站| 五月开心婷婷久久| 欧美一区二区视频在线观看2020| 日韩专区欧美专区| 欧美日韩二区三区| 日本视频一区二区| 日韩欧美你懂的| 麻豆国产欧美日韩综合精品二区| 欧美日韩精品二区第二页| 性做久久久久久免费观看| 在线不卡中文字幕| 久久国产人妖系列| 国产夜色精品一区二区av| 国产精品18久久久久久vr| 久久久久97国产精华液好用吗| 国产精品一卡二卡在线观看| 国产精品美女久久久久久2018| 成人免费视频一区二区| 亚洲人成人一区二区在线观看| 91在线你懂得| 一区二区三区免费观看| 7777精品伊人久久久大香线蕉| 捆绑变态av一区二区三区| 欧美成人bangbros| 风间由美一区二区av101| 一区二区在线观看不卡| 69精品人人人人| 经典三级一区二区| 1024成人网| 欧美精品18+| 狠狠v欧美v日韩v亚洲ⅴ| 中文字幕一区二区三区四区不卡| 91福利国产成人精品照片| 首页国产欧美久久| 26uuu另类欧美| 一本一道波多野结衣一区二区| 婷婷久久综合九色综合绿巨人| 精品成人一区二区三区| ww亚洲ww在线观看国产| 成人激情免费视频| 五月天一区二区| 国产日产亚洲精品系列| 色综合久久久久网| 蜜桃视频一区二区三区在线观看| 久久久99免费| 在线视频国产一区| 国产精品综合在线视频| 亚洲精品久久嫩草网站秘色| 在线综合亚洲欧美在线视频| 夫妻av一区二区| 亚洲成人av电影在线| 久久蜜桃一区二区| 欧美日韩一区二区在线视频| 国产精品亚洲成人| 亚洲一区二区三区视频在线| 26uuu国产电影一区二区| 91猫先生在线| 国精产品一区一区三区mba视频 | 丁香五精品蜜臀久久久久99网站 | 国产精品一区二区久激情瑜伽| 亚洲欧洲综合另类| 精品成人一区二区三区四区| 在线欧美一区二区| 国产精品一二二区| 天天影视涩香欲综合网| 中文字幕在线观看不卡| 日韩一二三区视频| 在线观看欧美精品| 成人网页在线观看| 免费观看日韩av| 亚洲制服丝袜一区| 国产精品女同一区二区三区| 日韩亚洲欧美一区| 欧美色倩网站大全免费| www.激情成人| 国产一区二区精品久久91| 舔着乳尖日韩一区| 亚洲在线视频免费观看| 国产精品午夜久久| 精品乱人伦小说| 91精品综合久久久久久| av成人动漫在线观看| 国产成人精品亚洲777人妖| 奇米亚洲午夜久久精品| 亚洲国产精品久久人人爱| 国产精品理论在线观看| 久久综合给合久久狠狠狠97色69| 欧美久久久久中文字幕| 91福利国产精品| 91在线无精精品入口| 成人综合在线观看| 国产a久久麻豆| 国产精品一区二区不卡| 精品夜夜嗨av一区二区三区| 日韩在线观看一区二区| 五月天精品一区二区三区| 亚洲电影在线播放| 亚洲曰韩产成在线|