<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://w.atwiki.jp/ken4281/">
    <title>Javaメモ</title>
    <link>http://w.atwiki.jp/ken4281/</link>
    <atom:link href="https://w.atwiki.jp/ken4281/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>Javaメモ</description>

    <dc:language>ja</dc:language>
    <dc:date>2006-09-01T00:21:47+09:00</dc:date>
    <utime>1157037707</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/ken4281/pages/4.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/ken4281/pages/3.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/ken4281/pages/2.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/ken4281/pages/1.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/ken4281/pages/4.html">
    <title>基本文法</title>
    <link>https://w.atwiki.jp/ken4281/pages/4.html</link>
    <description>
      *識別子の命名規則と予約語

----

-英字(大文字／小文字)と_と$
-2文字目からは数字も可能

予約語一覧
|abstract|assert|boolean|break|byte|
|case|catch|char|class|const|
|continue|default|do|double|else|
|extends|final|finally|float|for|
|goto|if|implements|import|instanceof|
|int|interface|long|native|new|
|package|private|protected|public|return|
|short|static|strictfp|super|switch|
|synchronized|this|throw|throws|transient|
|try|void|volatile|while||

*基本データ型

----

|boolean|trueまたはfalse|
|char|16ビットのUnicode2.1の文字(\u0000～\uFFFF)|
|byte|8ビットの整数(符号付)|
|short|16ビット整数(符号付)|
|int|32ビット整数(符号付)|
|long|64ビット整数(符号付)|
|float|32ビット浮動小数点数|
|double|64ビット浮動小数点数|

*リテラルの使い方

----

**数値リテラル
整数リテラルはデフォルトでは32ビット、浮動小数点数はデフォルトでは64ビットとなる。
|int i = 100;|○　デフォルトでは32ビット|
|long l = 100L;|○　Lまたはlを付けるとlong型|
|long l = 0xFFFFFFFFL;|○　long型の16進表記|
|byte b = 010;|○　byte型の8進表記|
|double d = 1.00;|○　デフォルトでは64ビット|
|fload f = 1.00F;|○　Fまたはfを付けるとfloat型|
|int i = 100L;|×　(int)を使ってキャスト|
|short s = 32000;|○　short型の範囲内|    </description>
    <dc:date>2006-09-01T00:21:47+09:00</dc:date>
    <utime>1157037707</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/ken4281/pages/3.html">
    <title>メニュー2</title>
    <link>https://w.atwiki.jp/ken4281/pages/3.html</link>
    <description>
      **更新履歴
#recent(20)
    </description>
    <dc:date>2006-08-31T23:07:07+09:00</dc:date>
    <utime>1157033227</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/ken4281/pages/2.html">
    <title>メニュー</title>
    <link>https://w.atwiki.jp/ken4281/pages/2.html</link>
    <description>
      *Java
+プログラミング基本編
++[[基本文法]]    </description>
    <dc:date>2006-09-01T00:10:05+09:00</dc:date>
    <utime>1157037005</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/ken4281/pages/1.html">
    <title>トップページ</title>
    <link>https://w.atwiki.jp/ken4281/pages/1.html</link>
    <description>
      *目次
**Java
+プログラミング基本編
++[[基本文法]]    </description>
    <dc:date>2006-08-31T23:25:05+09:00</dc:date>
    <utime>1157034305</utime>
  </item>
  </rdf:RDF>
