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

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

?? concepts.doc.html

?? 一本關(guān)于java方面的書籍 英文html形式 關(guān)于Java虛擬機(jī)
?? HTML
?? 第 1 頁 / 共 5 頁
字號(hào):
<!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
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产亚洲精品bt天堂精选| 天天色图综合网| 3d动漫精品啪啪1区2区免费 | 亚洲综合视频在线| 中文字幕不卡在线观看| 久久婷婷久久一区二区三区| 日韩美一区二区三区| 日韩一级欧美一级| 日韩欧美国产午夜精品| 日韩午夜在线观看视频| 久久综合久久99| 国产亚洲欧美色| 亚洲四区在线观看| 亚洲精选免费视频| 亚洲成人三级小说| 日本少妇一区二区| 蜜桃视频免费观看一区| 国产自产2019最新不卡| 国产成人在线电影| 99久久国产综合精品女不卡| 一本一道久久a久久精品综合蜜臀 一本一道综合狠狠老 | 蜜桃一区二区三区在线| 久久成人免费网站| 国产成人激情av| 91首页免费视频| 制服丝袜在线91| 精品国产亚洲在线| 中文字幕一区免费在线观看| 亚洲国产欧美在线| 麻豆精品国产91久久久久久| 国产不卡视频在线观看| 欧美亚洲国产bt| 精品久久久久99| 亚洲欧洲综合另类在线| 日韩精品国产欧美| 成人性色生活片| 欧美日韩成人一区| 亚洲国产精品t66y| 天天综合色天天综合色h| 国产综合久久久久久久久久久久| 99vv1com这只有精品| 欧美一级夜夜爽| 中文字幕一区二区在线观看| 九色综合国产一区二区三区| 91蜜桃网址入口| 久久久久久久电影| 亚洲18影院在线观看| 成人永久aaa| 欧美videossexotv100| 一区二区三区产品免费精品久久75| 久久99九九99精品| 欧美日韩三级一区二区| 国产视频一区在线观看| 首页综合国产亚洲丝袜| 99久久99久久久精品齐齐| 欧美成人三级在线| 婷婷一区二区三区| 99久久国产免费看| 国产精品色在线观看| 另类小说视频一区二区| 欧美日本国产一区| 亚洲国产一区视频| 91视频在线观看| 国产精品热久久久久夜色精品三区| 亚洲123区在线观看| 在线视频综合导航| 亚洲欧美电影一区二区| www.日韩在线| 亚洲欧洲国产日韩| 成人黄色软件下载| 国产精品传媒在线| 97精品国产露脸对白| 国产欧美日韩另类一区| 国产电影一区二区三区| 久久综合视频网| 国产成人免费xxxxxxxx| 久久精品无码一区二区三区| 国产精品影视网| 国产欧美日韩麻豆91| 不卡av电影在线播放| 国产精品国产三级国产aⅴ原创 | 91行情网站电视在线观看高清版| 国产精品美日韩| 99久久精品免费精品国产| 国产精品国产成人国产三级| 91同城在线观看| 一级做a爱片久久| 7777精品伊人久久久大香线蕉经典版下载 | 亚洲一区二区三区视频在线播放| 国产毛片一区二区| 精品免费日韩av| 国产精品小仙女| 中文字幕视频一区| 成人美女在线视频| 一区二区三区四区不卡视频 | 亚洲图片欧美色图| 在线观看日韩高清av| 水蜜桃久久夜色精品一区的特点| 国产激情偷乱视频一区二区三区| 国产农村妇女毛片精品久久麻豆 | 日韩高清国产一区在线| 日韩一级视频免费观看在线| 精品一区二区三区在线观看| 国产精品伦理在线| av亚洲精华国产精华精华| 久久久99精品久久| 色哟哟一区二区三区| 午夜欧美电影在线观看| 久久精品一区八戒影视| 成人免费不卡视频| 奇米影视一区二区三区| 欧美伦理电影网| 国产酒店精品激情| 亚洲激情一二三区| 91麻豆精品国产91久久久资源速度| 国内精品免费**视频| 国产日韩精品一区| 91美女片黄在线观看| 国产精品福利一区二区三区| 在线观看中文字幕不卡| 国产精品正在播放| 亚洲综合区在线| 欧美激情在线一区二区三区| 91视频国产观看| 国产精品一区二区你懂的| 久久久国产精品午夜一区ai换脸| 91国模大尺度私拍在线视频| 激情五月激情综合网| 亚洲欧美日韩国产另类专区| 久久综合色播五月| 色视频成人在线观看免| 丁香天五香天堂综合| 风流少妇一区二区| 久久国产尿小便嘘嘘尿| 亚洲第一二三四区| 日本一区二区三区国色天香| 日韩亚洲欧美在线| 色综合天天综合网国产成人综合天 | 911国产精品| 色婷婷av一区二区三区大白胸| 美美哒免费高清在线观看视频一区二区| 国产精品国产三级国产专播品爱网| 欧美一级一区二区| 91精品在线免费观看| 成人av网站在线观看免费| 麻豆精品视频在线观看免费| 免费在线视频一区| 一区二区欧美精品| 一区二区三区加勒比av| 成人欧美一区二区三区小说| 国产精品久久毛片a| 欧美国产一区二区| 国产精品剧情在线亚洲| 精品久久久久99| 欧美日韩精品一区二区天天拍小说 | 成人激情校园春色| 国产麻豆一精品一av一免费| 免费美女久久99| 奇米777欧美一区二区| 亚洲成av人片在线观看| 亚洲精品国产精华液| 国产精品成人免费在线| 久久综合999| 久久网站热最新地址| 欧美国产日韩亚洲一区| 国产亚洲一区二区三区在线观看| 久久久久九九视频| 中文字幕av一区 二区| 国产精品三级电影| 夜夜嗨av一区二区三区网页 | 亚洲精品乱码久久久久久久久| 亚洲欧美视频一区| 亚洲欧洲精品一区二区三区不卡| 亚洲精品你懂的| 日韩高清欧美激情| 美腿丝袜亚洲综合| 国产精品二区一区二区aⅴ污介绍| 国产精品国产精品国产专区不片| 久久亚洲精品小早川怜子| 久久精品视频一区二区三区| 日本一区二区三级电影在线观看| 国产日韩影视精品| 亚洲国产精品二十页| 亚洲另类中文字| 日韩激情视频在线观看| 日韩av午夜在线观看| 国产揄拍国内精品对白| 成人av一区二区三区| 欧美一区二区视频观看视频 | 99综合电影在线视频| 91色婷婷久久久久合中文| 91麻豆精品国产91久久久使用方法| 91麻豆国产福利在线观看| 欧美乱妇15p| 国产区在线观看成人精品 | 91精品国产综合久久精品麻豆| 久久久www成人免费毛片麻豆| 亚洲欧洲av一区二区三区久久| 日韩电影免费在线看| 国产精品资源在线|