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

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

?? concepts.doc.html

?? java虛擬機規范
?? HTML
?? 第 1 頁 / 共 5 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><html><head><title>VM Spec  Java Programming  Language 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="VMSpecIX.fm.html">Index</a></td><td align=right><i><i>The Java<sup><font size=-2>TM</font></sup> <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 Programming Language 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 programming language are thus useful when attempting to understand the virtual machine. This chapter gives an overview intended to support the specification of the Java virtual machine, but is not itself a part of that specification. <p><a name="33110"></a>The content of this chapter has been condensed from the first edition of <i>The Java</i><sup><font size=-2>TM</font></sup><i> Language Specification</i>, by James Gosling, Bill Joy, and Guy Steele.<a href="#33132"><sup>1</sup></a> Readers familiar with the Java programming language, but not with <i>The</i> <i>Java</i><sup><font size=-2>TM</font></sup><i> Language Specification</i>, should at least skim this chapter for the terminology it introduces. Any discrepancies between this chapter and <i>The Java</i><sup><font size=-2>TM</font></sup><i> Language Specification </i>should be resolved in favor of <i>The Java</i><sup><font size=-2>TM</font></sup><i> Language Specification</i>. <p><a name="22928"></a>This chapter does not attempt to provide an introduction to the Java programming language. For such an introduction, see <i>The Java</i><sup><font size=-2>TM</font></sup><i> Programming Language, Second Edition</i>, by Ken Arnold and James Gosling.<p><a name="25310"></a><hr><h2>2.1    Unicode</h2><a name="39673"></a>Programs written in the Java programming language supported by JDK release 1.1.7 and the Java 2 platform, v1.2 use the<i> Unicode</i> character encoding, version 2.1, as specified in <em>The Unicode Standard, Version 2.0</em>, ISBN 0-201-48345-9, and the update information for Version 2.1 of the Unicode Standard available at <code>http://www.unicode.org</code>. Programs written in the Java programming language used version2.0.14 of the Unicode Standard in JDK releases 1.1 through 1.1.6 and used version1.1.5 of the Unicode Standard in JDK release 1.0.<p><a name="23148"></a>Except for comments, identifiers <a href="Concepts.doc.html#25339">(&#167;2.2)</a>, and the contents of character and string literals <a href="Concepts.doc.html#20359">(&#167;2.3)</a>, all input elements in a program written in the Java programming language 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="28702"></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 programmers to use identifiers in their programs that are written in their native languages.<p><a name="23858"></a>The method <a href="Concepts.doc.html#16317">(&#167;2.10)</a> <code>Character.isJavaLetter</code> returns <code>true</code> when passed a Unicode character that is considered to be a letter in an identifier. The method <code>Character.isJavaLetterOrDigit</code> returns <code>true</code> when passed a Unicode character that is considered to be a letter or digit in an identifier.<p><a name="29956"></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 boolean literal <a href="Concepts.doc.html#20359">(&#167;2.3)</a>, the null literal <a href="Concepts.doc.html#20359">(&#167;2.3)</a>, or a keyword in the Java programming language.<p><a name="20359"></a><hr><h2>2.3    Literals</h2>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.8)</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>. 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>The Java programming language is <i>strongly typed</i>, which means that every variable and every expression has a type that is known at compile time. Types limit the valuesthat a variable <a href="Concepts.doc.html#17203">(&#167;2.5)</a> can hold or that an expression can produce, limit the operationssupported 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 programming 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#29375">(&#167;2.4.6)</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 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#29375">(&#167;2.4.6)</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 programming language and named by a reserved keyword. <i>Primitive values</i> do not share state with other primitivevalues. A variable whose type is a primitive type always holds a primitive value of that type.<a href="#27846"><sup>2</sup></a><p><a name="23025"></a>The primitive types are the <code>boolean</code> type 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 floating-point types are <code>float</code> and <code>double</code>, which are conceptually associated with the 32-bit single-precision and 64-bit double-precision IEEE 754 values and operations as specified in <i>IEEE Standard for Binary Floating-Point Arithmetic</i>, ANSI/IEEE Standard 754-1985 (IEEE, New York). <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>The Java programming language provides a number of operators that act on integral values, including numerical comparison, arithmetic operators, increment and decrement,bitwise logical and shift operators, and numeric cast <a href="Concepts.doc.html#18168">(&#167;2.6.9)</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.10)</a>.<p><a name="17886"></a>The built-in integer operators do not indicate (positive or negative) overflow in any way; they wrap around on overflow. 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="33376"></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="33377"></a><h3>2.4.3    Floating-Point Types, Value Sets, and Values</h3><a name="34259"></a>The IEEE 754 standard includes not only positive and negative sign-magnitude numbers, but also positive and negative zeros, positive and negative <i>infinities</i>, and a special <i>Not-a-Number </i>value (hereafter abbreviated as "NaN"). The NaN value is used to represent the result of certain invalid operations such as dividing zero by zero.<p><a name="34556"></a>Every implementation of the Java programming language is required to support two standard sets of floating-point values, called the <i>float value set</i> and the <i>double value set</i>. In addition, an implementation of the Java programming language may support either or both of two extended-exponent floating-point value sets, called the<i> float-extended-exponent value set</i> and the<i> double-extended-exponent value set</i>. These extended-exponent value sets may, under certain circumstances, be used instead of the standard value sets to represent the values of expressions of type float or double.<p><a name="34707"></a>The finite nonzero values of any floating-point value set can all be expressed in the form s &#183; <i>m</i>&#183; &#32;2<sup>(e &#32;-N &#32;+ &#32;1)</sup>, where <i>s</i> is +1 or -1, <i>m</i> is a positive integer less than 2<sup>N</sup>, and <i>e</i> is an integer between <i>E</i>min = - (2<sup>K &#32;- &#32;1</sup>-2) and <i>E</i>max = 2<sup>K &#32;- &#32;1</sup>-1, inclusive, and where <i>N</i> and <i>K</i> are parameters that depend on the value set. Some values can be represented in this form in more than one way; for example, supposing that a value <i>v</i> in a value set might be represented in this form using certain values for <i>s</i>, <i>m</i>, and <i>e</i>, then if it happened that <i>m</i> was even and <i>e</i> was less than 2<sup>K &#32;-1</sup>, one could halve <i>m</i> and increase <i>e</i> by 1 to produce a second representation for the same value <i>v</i>. A representation in this form is called <i>normalized</i> if <i>m</i> <img src="chars/gtequal.gif"> 2<sup>N &#32;-1</sup>; otherwise the representation is said to be <i>denormalized</i>. If a value in a value set cannot be represented in such a way that <i>m</i> <img src="chars/gtequal.gif"> 2<sup>N &#32;-1</sup>, then the value is said to be a <i>denormalized value</i>, because it has no normalized representation.<p><a name="34798"></a>The constraints on the parameters <i>N</i> and <i>K</i> (and on the derived parameters <i>E</i>min and <i>E</i>max) for the two required and two optional floating-point value sets are summarized in <a href="Concepts.doc.html#34798">Table 2.1</a>.<p><Table Border="1"><tr><th><b><i></i></b><b><i>Parameter</i></b><th><b><i></i></b><b><i>float</i></b><th><b><i>float-extended-exponent</i></b><th><b><i></i></b>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
蜜桃视频第一区免费观看| 亚洲国产成人av| 在线播放亚洲一区| 91美女在线观看| 高清不卡在线观看| 国产一区二区三区黄视频| 精东粉嫩av免费一区二区三区| 日韩国产欧美在线视频| 无码av中文一区二区三区桃花岛| 亚洲午夜精品网| 婷婷成人激情在线网| 日韩av不卡在线观看| 日本欧美一区二区在线观看| 蜜臀久久99精品久久久画质超高清| 天涯成人国产亚洲精品一区av| 婷婷国产v国产偷v亚洲高清| 久久国产剧场电影| 国产成人超碰人人澡人人澡| 成人免费福利片| 91福利在线导航| 欧美日韩国产一二三| 欧美一二三区在线| 国产日产欧美一区二区三区| 中文字幕在线一区| 亚洲午夜成aⅴ人片| 免费在线欧美视频| 成人a级免费电影| 在线观看网站黄不卡| 在线电影一区二区三区| 久久亚洲免费视频| 亚洲精品中文在线影院| 日韩精品久久理论片| 国产精品1区2区| 91国偷自产一区二区开放时间| 4hu四虎永久在线影院成人| 久久女同性恋中文字幕| 亚洲欧美日韩精品久久久久| 蜜臀精品久久久久久蜜臀 | 欧美电影一区二区| 国产女同互慰高潮91漫画| 亚洲激情五月婷婷| 狠狠久久亚洲欧美| 欧美视频你懂的| 国产精品网站在线| 欧美aaaaaa午夜精品| 91免费视频网址| xvideos.蜜桃一区二区| 亚洲国产精品久久一线不卡| 国产福利一区二区三区视频在线 | 久久精品国产**网站演员| 成人白浆超碰人人人人| 日韩久久免费av| 亚洲综合在线视频| 成人v精品蜜桃久久一区| 精品久久久久久久人人人人传媒 | 在线免费亚洲电影| 国产免费成人在线视频| 免费三级欧美电影| 欧美日韩精品专区| 一区二区三区国产精品| 成人小视频免费观看| 久久免费偷拍视频| 麻豆国产欧美日韩综合精品二区| 91国产精品成人| 日韩伦理av电影| 成人国产亚洲欧美成人综合网| 精品99999| 韩国欧美国产一区| 精品免费视频.| 麻豆精品在线观看| 日韩欧美国产午夜精品| 日本午夜精品视频在线观看 | 99re视频精品| 国产精品黄色在线观看| 大尺度一区二区| 国产亚洲精品aa| 人人狠狠综合久久亚洲| 国产日韩在线不卡| 色综合久久六月婷婷中文字幕| 国产亚洲精品超碰| 成熟亚洲日本毛茸茸凸凹| 久久精品网站免费观看| 国产在线国偷精品产拍免费yy | 一区二区三区色| 91蝌蚪porny成人天涯| 亚洲激情第一区| 欧美视频一区二区三区四区| 婷婷中文字幕综合| 日韩精品综合一本久道在线视频| 美女脱光内衣内裤视频久久网站| 欧美成人aa大片| 国产老肥熟一区二区三区| 国产精品妹子av| 91麻豆国产香蕉久久精品| 一区二区三区日本| 欧美一区午夜视频在线观看 | 国产亚洲精品资源在线26u| 国产成人免费在线| 亚洲精品高清在线| 欧美一级免费观看| 国产成人a级片| 亚洲男人都懂的| 欧美一区二区黄| 国产成人高清在线| 午夜精彩视频在线观看不卡| 精品国产91久久久久久久妲己| 国产精品一二三四五| 一区二区理论电影在线观看| 91精品国产综合久久福利| 国产成人在线观看免费网站| 亚洲永久免费av| 久久久久成人黄色影片| 在线免费av一区| 国产综合色在线| 亚洲午夜久久久久久久久电影院 | 亚洲午夜av在线| 国产亚洲一区二区三区四区| 一本色道久久综合精品竹菊| 美女视频免费一区| 中文字幕一区二区三区在线观看| 欧美日韩一二三| www.av精品| 国产一区 二区 三区一级| 亚洲欧洲韩国日本视频| 日韩一级免费观看| 色综合欧美在线| 国产99久久久久| 奇米影视7777精品一区二区| 亚洲婷婷综合色高清在线| 日韩美女视频一区二区在线观看| 日本精品一级二级| 成人听书哪个软件好| 美女视频黄 久久| 亚洲午夜私人影院| 亚洲免费毛片网站| 亚洲精品一区在线观看| 日韩欧美国产综合一区| 国产精选一区二区三区| 五月天欧美精品| 亚洲视频在线一区观看| 精品电影一区二区| 日韩精品一区二区在线观看| 在线观看欧美精品| 99久久精品国产导航| 国产高清不卡一区| 国产老妇另类xxxxx| 麻豆成人综合网| 蜜臀久久99精品久久久久久9 | 欧美绝品在线观看成人午夜影视| jlzzjlzz亚洲女人18| 国产凹凸在线观看一区二区| 麻豆精品久久久| 另类欧美日韩国产在线| 男男gaygay亚洲| 蜜桃av一区二区三区电影| 日本va欧美va欧美va精品| 手机精品视频在线观看| 午夜成人在线视频| 日韩成人午夜电影| 麻豆一区二区99久久久久| 精品一区二区三区在线观看| 精品无人码麻豆乱码1区2区 | 亚洲欧美经典视频| 一二三四区精品视频| 亚洲国产毛片aaaaa无费看| 亚洲妇女屁股眼交7| 五月天激情综合网| 美女网站色91| 国产成人高清视频| 成人动漫一区二区三区| 99视频在线观看一区三区| 99久久亚洲一区二区三区青草| 丁香五精品蜜臀久久久久99网站 | 久久久久久久久伊人| 中文字幕精品综合| 一区二区三区波多野结衣在线观看| 亚洲福利一区二区| 日韩和欧美的一区| 久久国产精品一区二区| www.亚洲在线| 欧美精品视频www在线观看| 日韩欧美一级片| 国产乱码精品1区2区3区| 国产精品伦一区| 欧美精品一区二区三区视频| 亚洲国产精品精华液2区45| 一区二区三区中文字幕| 日韩精品五月天| 99久久婷婷国产综合精品| 欧美精品日韩一区| 国产欧美一区在线| 亚洲国产婷婷综合在线精品| 国产美女av一区二区三区| 色菇凉天天综合网| 精品99一区二区三区| 亚洲国产aⅴ天堂久久| 国产精品一区一区| 欧美日韩情趣电影| 国产精品久久三区| 九九精品一区二区|