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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? concepts.doc.html

?? Jvm 規范說明。The Java Virtual Machine was designed to support the Java programming language. Some concep
?? 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>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区二区三区小说| 亚洲欧美日韩系列| 一区二区三区av电影| 懂色av一区二区在线播放| 精品久久五月天| 美美哒免费高清在线观看视频一区二区| 欧美影片第一页| 亚洲永久免费av| 777欧美精品| 一区二区三区四区视频精品免费| 成人美女视频在线观看| 国产精品高潮久久久久无| 丁香亚洲综合激情啪啪综合| 欧美国产一区视频在线观看| 国产精品18久久久久久久久久久久| 精品欧美久久久| 国产精品一区二区你懂的| 国产亚洲欧美日韩在线一区| 成人精品国产福利| 亚洲精品日日夜夜| 欧美日韩一区不卡| 蜜臀精品一区二区三区在线观看| 久久亚洲私人国产精品va媚药| 亚洲国产精品一区二区尤物区| 色综合天天综合网国产成人综合天| 一区二区三区在线免费观看| 欧美精三区欧美精三区| 蜜臀va亚洲va欧美va天堂| 精品国产乱码久久久久久1区2区| 豆国产96在线|亚洲| 久久亚洲综合色一区二区三区 | 粉嫩av一区二区三区粉嫩| 国产欧美一区二区精品性色超碰| bt欧美亚洲午夜电影天堂| 亚洲国产成人tv| 日韩欧美一区在线| 春色校园综合激情亚洲| 亚洲高清不卡在线| 精品国产制服丝袜高跟| 91年精品国产| 视频一区二区中文字幕| 欧美国产日产图区| 欧美三级资源在线| 国产乱子伦视频一区二区三区| 亚洲色图一区二区| 国产婷婷色一区二区三区| 欧美群妇大交群中文字幕| 日产国产高清一区二区三区| 久久久久久99精品| 欧美视频在线播放| 国产资源在线一区| 一区二区三区日本| 精品99一区二区| 在线观看视频一区二区欧美日韩| 黑人精品欧美一区二区蜜桃| 一区二区三区国产| 久久精品一区二区三区不卡牛牛 | 国产99精品国产| 日韩电影一区二区三区四区| 中文字幕一区视频| 精品国产一区a| 日本高清不卡aⅴ免费网站| 国产呦萝稀缺另类资源| 日韩主播视频在线| 一区二区视频免费在线观看| 久久嫩草精品久久久精品一| 777亚洲妇女| 欧美性xxxxx极品少妇| av午夜精品一区二区三区| 国产综合久久久久影院| 全国精品久久少妇| 婷婷综合久久一区二区三区| 亚洲人吸女人奶水| 久久毛片高清国产| 日韩三级高清在线| 欧美日韩一区不卡| 欧美视频日韩视频在线观看| 日韩国产欧美在线视频| 激情综合亚洲精品| 日本不卡一区二区| 午夜欧美2019年伦理| 亚洲成人av一区二区| 亚洲一区二区三区中文字幕在线| 1024精品合集| 中文字幕亚洲在| 中文一区在线播放| 国产欧美一区二区精品久导航 | 亚洲一区二区三区影院| 国产午夜精品久久久久久久 | 韩国理伦片一区二区三区在线播放| 亚洲成av人在线观看| 亚洲高清免费观看| 性久久久久久久| 天堂久久一区二区三区| 日韩成人免费在线| 麻豆精品新av中文字幕| 狠狠色狠狠色合久久伊人| 国产毛片精品视频| 久久精品国产亚洲高清剧情介绍 | 国产成人综合网| 日本不卡视频在线| 国产一区美女在线| 国产成人小视频| 成人av网在线| 在线视频一区二区三区| 欧美日韩国产电影| 精品剧情在线观看| 国产精品久久久久永久免费观看 | 日韩一区二区三区在线| 日韩欧美电影一区| 国产三级精品三级在线专区| 国产精品另类一区| 亚洲伊人色欲综合网| 日本女人一区二区三区| 国产一区二区精品久久| 国产99久久久国产精品免费看| 99久久国产综合色|国产精品| 91高清视频在线| 日韩欧美色电影| 91精品国产综合久久精品性色| 在线电影国产精品| 久久午夜电影网| 欧美国产欧美综合| 亚洲国产欧美一区二区三区丁香婷| 免费日韩伦理电影| www.成人网.com| 欧美精品一二三区| 国产日韩一级二级三级| 亚洲午夜电影在线| 国产精品一区三区| 欧美亚洲国产怡红院影院| 日韩精品一区二区三区在线| 国产精品每日更新| 日韩电影在线一区二区三区| 成人一二三区视频| 91国偷自产一区二区三区观看| 91女神在线视频| 精品国产三级a在线观看| 亚洲天堂免费在线观看视频| 奇米一区二区三区av| 99国产精品久久久久久久久久久| 欧美另类久久久品| 国产精品麻豆欧美日韩ww| 男人的j进女人的j一区| 99综合电影在线视频| 日韩一区二区在线看片| 最新热久久免费视频| 久久成人免费网站| 欧美亚洲综合一区| 中文一区在线播放| 美脚の诱脚舐め脚责91| 色综合久久九月婷婷色综合| 亚洲精品一二三| 国产在线播放一区三区四| 在线观看欧美日本| 久久丝袜美腿综合| 亚洲激情av在线| 不卡的av网站| 国产日韩精品视频一区| 青青草97国产精品免费观看 | 福利一区二区在线| 在线免费观看日本一区| 欧美激情中文字幕一区二区| 日本va欧美va欧美va精品| 9191成人精品久久| 日韩主播视频在线| 欧美一区二区三区视频| 青青青爽久久午夜综合久久午夜| 538在线一区二区精品国产| 肉丝袜脚交视频一区二区| 欧美精品日韩精品| 美女视频一区二区三区| 久久综合九色综合97_久久久| 国产一区中文字幕| 欧美激情在线一区二区三区| 不卡的电影网站| 亚洲激情图片一区| 在线成人午夜影院| 激情久久五月天| 国产精品进线69影院| 99视频一区二区三区| 伊人开心综合网| 欧美群妇大交群中文字幕| 蜜臀av亚洲一区中文字幕| 精品电影一区二区| 夫妻av一区二区| 亚洲愉拍自拍另类高清精品| 欧美一区二区三区在线| 极品瑜伽女神91| 中文一区在线播放| 欧美伊人久久久久久久久影院 | 久久综合国产精品| 成人免费毛片片v| 亚洲午夜激情网站| 欧美精品一区二区久久婷婷| 粉嫩一区二区三区在线看| 亚洲六月丁香色婷婷综合久久| 欧美日韩高清一区二区| 蜜桃av一区二区在线观看| 国产日韩欧美a|