亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
久久99精品一区二区三区三区| 久久久久国产免费免费 | 欧美久久久久久蜜桃| 奇米精品一区二区三区在线观看 | 成人av在线影院| 中文字幕一区二区三中文字幕| 国产成人精品1024| 中文字幕中文在线不卡住| 日韩精品一区二区三区蜜臀| 免费看欧美美女黄的网站| 久久只精品国产| 成人精品国产福利| 国产高清久久久| 国产精品色在线观看| 久久午夜羞羞影院免费观看| 制服丝袜成人动漫| 国产精品一区二区三区四区| 日韩福利电影在线| 精品国免费一区二区三区| 制服丝袜亚洲播放| 日韩1区2区日韩1区2区| 亚洲国产成人高清精品| 一区二区三区在线影院| 亚洲精选一二三| 欧美自拍丝袜亚洲| 精品国产1区二区| 日韩欧美色电影| 久久精品视频免费观看| 亚洲青青青在线视频| 欧美xxxxxxxx| 韩国成人在线视频| 国产裸体歌舞团一区二区| 亚洲精品在线电影| 天堂一区二区在线| 日韩午夜av一区| 国产日韩视频一区二区三区| 久久久www成人免费无遮挡大片| 亚洲靠逼com| 日本在线播放一区二区三区| 91网页版在线| 色先锋aa成人| 欧美一区二区精品| 91农村精品一区二区在线| 成人影视亚洲图片在线| 国产一区二区在线看| 国产一区二区影院| 成人精品小蝌蚪| 99久久婷婷国产综合精品电影| 免费高清不卡av| 欧美视频一区二区在线观看| 成人爽a毛片一区二区免费| 久久一日本道色综合| 青娱乐精品视频在线| 风间由美一区二区三区在线观看 | 亚洲欧美在线视频观看| 亚洲午夜影视影院在线观看| 狠狠色伊人亚洲综合成人| 91精品国产免费| 日韩欧美中文字幕制服| 天天影视涩香欲综合网| 天天影视色香欲综合网老头| av亚洲精华国产精华精| 99热这里都是精品| 日韩美女天天操| 精品国产伦一区二区三区观看方式| 亚洲视频在线观看三级| 日韩高清不卡在线| 欧美电影免费观看高清完整版在线| 精品国产伦一区二区三区观看体验 | 成人少妇影院yyyy| 久久久久久亚洲综合影院红桃| 久久久综合激的五月天| 亚洲精品一区二区三区蜜桃下载| 成人亚洲一区二区一| jvid福利写真一区二区三区| 一本大道久久a久久综合婷婷| 欧美午夜精品久久久久久超碰| 在线免费观看视频一区| 欧美大胆人体bbbb| 亚洲成av人片一区二区三区| jiyouzz国产精品久久| 国产午夜精品一区二区三区视频| 国产日韩欧美激情| 日韩国产欧美在线视频| 欧美α欧美αv大片| 首页国产欧美久久| 国产精品你懂的| 国产精品一区免费在线观看| 欧美日韩国产123区| 樱桃国产成人精品视频| 欧美亚洲国产一区二区三区| 一级中文字幕一区二区| 亚洲国产成人av网| 久久久午夜精品| 亚洲超碰97人人做人人爱| 国产欧美一二三区| 91久久精品一区二区三区| 中文字幕精品—区二区四季| 日韩欧美在线综合网| 亚洲另类色综合网站| 91麻豆精品久久久久蜜臀| 99国产欧美另类久久久精品| 国产精品天干天干在观线| 日本大香伊一区二区三区| 欧美日韩亚洲综合一区| 青娱乐精品视频| 日韩一区和二区| 欧美精品在线观看一区二区| 成人app在线观看| 国产精品丝袜在线| 欧美一区二区三区不卡| 亚洲情趣在线观看| 国产精品国产三级国产| 国产日产欧美一区| 欧美一区二区三区四区高清| 成+人+亚洲+综合天堂| 久久er99热精品一区二区| 国产福利一区二区三区视频| 免费三级欧美电影| 亚洲高清免费视频| 亚洲美女在线国产| 欧美国产激情一区二区三区蜜月| 精品国产三级电影在线观看| 欧美日韩在线亚洲一区蜜芽| 日韩精品电影在线观看| 国产午夜一区二区三区| 欧美色综合久久| 91黄视频在线| 91在线视频18| www.欧美日韩| 91在线看国产| 91麻豆精东视频| 久久久久99精品国产片| 日韩精品一区二区三区视频播放| 91麻豆精品久久久久蜜臀| 欧美一卡二卡三卡| 欧美亚洲高清一区二区三区不卡| 国产精品亚洲一区二区三区在线 | 亚洲综合久久av| 国产精品毛片高清在线完整版| 欧美成人精品1314www| 欧美一区午夜视频在线观看| 色欲综合视频天天天| 亚洲激情av在线| 黑人巨大精品欧美黑白配亚洲| 青娱乐精品视频| 亚洲美女偷拍久久| 日日夜夜免费精品视频| 日韩欧美国产精品一区| 中文一区一区三区高中清不卡| 亚洲品质自拍视频网站| 一区二区三区不卡视频| www.在线欧美| 日韩va欧美va亚洲va久久| 91蝌蚪porny九色| 欧美一级电影网站| 亚洲一区二区精品3399| eeuss影院一区二区三区| 91麻豆免费视频| 久久久久久综合| 91精品国产丝袜白色高跟鞋| 亚洲免费电影在线| 三级不卡在线观看| 亚洲精品视频一区二区| 色哟哟在线观看一区二区三区| 欧美色网站导航| 视频一区二区三区入口| 欧美性欧美巨大黑白大战| 国产拍欧美日韩视频二区| 亚洲亚洲精品在线观看| 欧美中文字幕久久| 亚洲另类在线制服丝袜| 色婷婷精品久久二区二区蜜臂av| 91看片淫黄大片一级在线观看| 精品成人免费观看| 国产精品久久午夜夜伦鲁鲁| 99视频国产精品| 亚洲6080在线| 在线成人午夜影院| 日韩制服丝袜先锋影音| 日本韩国一区二区三区| 日韩国产一二三区| 在线视频欧美精品| 欧美伊人精品成人久久综合97| 欧美成人一级视频| 5566中文字幕一区二区电影| 久久久久久免费网| 日韩成人免费在线| 欧美日韩国产a| 亚洲国产日韩在线一区模特| 日本精品免费观看高清观看| 久久蜜桃av一区精品变态类天堂 | 9i在线看片成人免费| 最新高清无码专区| 91日韩精品一区| 国产清纯在线一区二区www| 日韩制服丝袜av| 久久精品一区二区三区av| 男女男精品网站| 国产精品三级久久久久三级|